Fixed #1888 Properly resolve static vs nonstatic properties

This commit is contained in:
Jindra Petřík
2022-11-26 10:02:02 +01:00
parent 87a8a03ca1
commit 9324f01183
17 changed files with 101 additions and 94 deletions

View File

@@ -5,6 +5,10 @@ package tests
{
private var n:int = 1;
private var ns:String = "b";
public static var TEST:String = "Hello";
public var TEST:int = 5;
public function run():void
{
@@ -16,6 +20,9 @@ package tests
s = String((i == 4) ? "" : i);
s = (i == 4) ? "" : String(i);
s = TestConvert.TEST;
i = this.TEST;
}
}
}