Browse Source

[swf] do not generate dynamic method fields in interfaces (see #3159)

Simon Krajewski 11 năm trước cách đây
mục cha
commit
f399394472
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      genswf9.ml

+ 1 - 1
genswf9.ml

@@ -362,7 +362,7 @@ let property ctx p t =
 		let rec loop c =
 			try
 				(match PMap.find p c.cl_fields with
-				| { cf_kind = Var _ } -> raise Exit (* no vars in interfaces in swf9 *)
+				| { cf_kind = Var _ | Method MethDynamic } -> raise Exit (* no vars in interfaces in swf9 *)
 				| _ -> c)
 			with Not_found ->
 				let rec loop2 = function