Browse Source

generate interface type (for instanceof).

Nicolas Cannasse 20 năm trước cách đây
mục cha
commit
e04810d15c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      genswf8.ml

+ 1 - 1
genswf8.ml

@@ -1081,7 +1081,7 @@ let gen_path ctx (p,t) is_extern =
 let gen_type_def ctx t tdef =
 	match tdef with
 	| TClassDecl c ->
-		if c.cl_extern || c.cl_interface then 
+		if c.cl_extern then
 			()
 		else
 		let id = gen_type ctx t false in