浏览代码

make sure to keep flash.Boot.RealBoot

Simon Krajewski 13 年之前
父节点
当前提交
88e68ee237
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1 1
      std/flash/Boot.hx
  2. 0 1
      typer.ml

+ 1 - 1
std/flash/Boot.hx

@@ -25,7 +25,7 @@
 package flash;
 
 #if !as3
-private class RealBoot extends Boot, implements Dynamic {
+@:keep private class RealBoot extends Boot, implements Dynamic {
 	#if swc
 	public function new() {
 		super();

+ 0 - 1
typer.ml

@@ -2320,7 +2320,6 @@ let dce_check_class ctx c =
 		|| (f.cf_name = "new" && has_meta ":?used" c.cl_meta)
 		|| match String.concat "." (fst c.cl_path @ [snd c.cl_path;f.cf_name]) with
 		| "EReg.new" -> true
-		| "flash._Boot.RealBoot.new" -> true
 		| _ -> false
 	in
 	keep