Fixed #1888 AS3 - Coerce to int when Number

Fixed AS3 - super properties resolving
This commit is contained in:
Jindra Petřík
2023-01-13 21:09:05 +01:00
parent 6b07e1c868
commit 50910f57d1
22 changed files with 172 additions and 59 deletions

View File

@@ -90,7 +90,19 @@ package tests
if (o) {
trace("obj");
}
s = xlist;
s = xlist;
var d:Number = 0;
d = 1;
d = 1.5;
i = 1;
i = 1.5;
o[int(d * 5)] = 1;
this.n = 1.5;
super.prot = 1.5;
super.prot = int(s);
i = super.prot;
s = String(super.prot);
}
}
}