Browse Source

"Try changing it and see it if still works."

Dan Korostelev 9 years ago
parent
commit
79203b0b78
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/optimization/dce.ml

+ 1 - 1
src/optimization/dce.ml

@@ -57,7 +57,7 @@ let keep_whole_class dce c =
 		| { cl_extern = true }
 		| { cl_path = ["flash";"_Boot"],"RealBoot" } -> true
 		| { cl_path = [],"String" }
-		| { cl_path = [],"Array" } -> not (dce.com.platform = Js)
+		| { cl_path = [],"Array" } -> (match dce.com.platform with Js | Lua -> false | _ -> true)
 		| _ -> false)
 
 let keep_whole_enum dce en =