tests: Add test for scopechain resolution order

This commit is contained in:
EmperorBale 2023-02-14 23:39:37 -08:00 committed by Adrian Wielgosik
parent 7ef56c1d16
commit 46bd6bbee9
5 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,20 @@
package {
public class Test {
public function Test() {
}
}
}
this["int"] = "global";
this["other"] = "global";
trace(int);
trace(other);
function test() {
trace(int);
trace(other);
}
test();

View File

@ -0,0 +1,4 @@
[class int]
global
[class int]
global

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
num_frames = 1