Explorar o código

[as3] consider Method MethDynamic a variable field

Simon Krajewski %!s(int64=11) %!d(string=hai) anos
pai
achega
6690e98c4a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      genas3.ml

+ 1 - 1
genas3.ml

@@ -48,7 +48,7 @@ type context = {
 let is_var_field f =
 	match f with
 	| FStatic (_,f) | FInstance (_,_,f) ->
-		(match f.cf_kind with Var _ -> true | _ -> false)
+		(match f.cf_kind with Var _ | Method MethDynamic -> true | _ -> false)
 	| _ ->
 		false