tests: Add test for scopechain resolution order
This commit is contained in:
parent
7ef56c1d16
commit
46bd6bbee9
|
@ -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();
|
|
@ -0,0 +1,4 @@
|
|||
[class int]
|
||||
global
|
||||
[class int]
|
||||
global
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
num_frames = 1
|
Loading…
Reference in New Issue