|
@@ -35,9 +35,6 @@ class TestType extends Test {
|
|
|
fl.sort(Reflect.compare);
|
|
|
eq( fl.join("|"), fields.join("|") );
|
|
|
|
|
|
- // AS3 generator will create native properties
|
|
|
- #if !as3
|
|
|
-
|
|
|
// x should not be listed since it's not a variable
|
|
|
var fl = Type.getInstanceFields(VarProps);
|
|
|
var fields = ["get_x","get_y","set_x","set_y","set_z","y","z"];
|
|
@@ -49,8 +46,6 @@ class TestType extends Test {
|
|
|
var fields = ["SY", "get_SX", "get_SY", "set_SX", "set_SY"];
|
|
|
fl.sort(Reflect.compare);
|
|
|
eq( fl.join("|"), fields.join("|"));
|
|
|
-
|
|
|
- #end
|
|
|
}
|
|
|
|
|
|
public function testEnumEq() {
|
|
@@ -99,11 +94,8 @@ class TestType extends Test {
|
|
|
var c = new MyClass.MyChild1();
|
|
|
eq(12, c.a());
|
|
|
|
|
|
- // TODO: this is also a problem
|
|
|
- #if !as3
|
|
|
var mc2 = new MyChild2();
|
|
|
eq(21, mc2.test1(new MyChild1()));
|
|
|
- #end
|
|
|
}
|
|
|
|
|
|
function testUnifyMin() {
|
|
@@ -779,8 +771,7 @@ class TestType extends Test {
|
|
|
eq(mr["hhh"], 2);
|
|
|
eq(v, "hhhh");
|
|
|
|
|
|
- // note for later: As3 compilation fails if the function name is removed
|
|
|
- mr["101"] = function n(x) return 9 + x;
|
|
|
+ mr["101"] = function(x) return 9 + x;
|
|
|
eq(mr["101"](1), 10);
|
|
|
}
|
|
|
|