ソースを参照

[js] support exposing abstract impl classes (can be useful while porting js code to haxe)

Dan Korostelev 10 年 前
コミット
36f00d0c10
1 ファイル変更1 行追加1 行削除
  1. 1 1
      typeload.ml

+ 1 - 1
typeload.ml

@@ -202,7 +202,7 @@ let make_module ctx mpath file tdecls loadp =
 				(match !decls with
 				| (TClassDecl c,_) :: _ ->
 					List.iter (fun m -> match m with
-						| ((Meta.Build | Meta.CoreApi | Meta.Allow | Meta.Access | Meta.Enum | Meta.Dce | Meta.Native),_,_) ->
+						| ((Meta.Build | Meta.CoreApi | Meta.Allow | Meta.Access | Meta.Enum | Meta.Dce | Meta.Native | Meta.Expose),_,_) ->
 							c.cl_meta <- m :: c.cl_meta;
 						| _ ->
 							()