浏览代码

[as3] consider Method MethDynamic a variable field

Simon Krajewski 11 年之前
父节点
当前提交
6690e98c4a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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