Browse Source

[as3] consider Method MethDynamic a variable field

Simon Krajewski 11 years ago
parent
commit
6690e98c4a
1 changed files with 1 additions and 1 deletions
  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