@@ -14,6 +14,7 @@
all : optimized Std.int(123) and Std.int(123.45)
js : remove $hxClasses generation if Type.resolveClass/resolveEnum not referenced
flash : bugfix for @:bitmap with 24-bits PNG (flash decode wrong colors)
+ as3 : fixed EnumValue becomes Object
2012-04-14: 2.09
all : optimized const == const and const != const (with different const types)
@@ -54,6 +54,7 @@ let s_path ctx stat path p =
| "Dynamic" -> "Object"
| "Bool" -> "Boolean"
| "Enum" -> "Class"
+ | "EnumValue" -> "Object"
| _ -> name)
| (["flash"],"FlashXml__") ->
"Xml"
@@ -698,7 +699,7 @@ and gen_block ctx e =
newline ctx;
match e.eexpr with
| TBlock [] -> ()
- | _ ->
+ | _ ->
gen_expr ctx e;
newline ctx