Forráskód Böngészése

make sure to keep flash.Boot.RealBoot

Simon Krajewski 13 éve
szülő
commit
88e68ee237
2 módosított fájl, 1 hozzáadás és 2 törlés
  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