-
-
Notifications
You must be signed in to change notification settings - Fork 828
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Add test for SWF5 function scope
- Loading branch information
Showing
14 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
g() this: _level0 | ||
g() _target: / | ||
g() foo: root | ||
|
||
root foo: | ||
g | ||
|
||
clip g(): | ||
g() this: _level0.clip | ||
g() _target: /clip | ||
g() foo: clip foo | ||
|
||
clip foo: | ||
g | ||
|
||
object g(): | ||
g() this: [object Object] | ||
g() _target: / | ||
g() foo: g | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
child f(): | ||
this: _level0.clip | ||
_target: /clip | ||
getDepth: [type Function] | ||
foo: child foo | ||
|
||
child obj toString: | ||
this: object | ||
_target: /clip | ||
getDepth: [type Function] | ||
foo: child foo | ||
|
||
clip.f(): | ||
this: _level0.clip | ||
_target: /clip | ||
getDepth: [type Function] | ||
foo: child foo | ||
|
||
_root f(): | ||
this: object | ||
_target: / | ||
getDepth: | ||
foo: | ||
|
||
root obj toString: | ||
this: object | ||
_target: /clip | ||
getDepth: [type Function] | ||
foo: child foo | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
child f(): | ||
this: _level0.clip | ||
_target: /clip | ||
getDepth: | ||
foo: child foo | ||
|
||
child obj toString: | ||
this: object | ||
_target: /clip | ||
getDepth: | ||
foo: child foo | ||
|
||
clip.f(): | ||
this: _level0.clip | ||
_target: /clip | ||
getDepth: | ||
foo: child foo | ||
|
||
_root f(): | ||
this: object | ||
_target: /clip | ||
getDepth: | ||
foo: child foo | ||
|
||
root obj toString: | ||
this: object | ||
_target: /clip | ||
getDepth: | ||
foo: child foo | ||
|
Binary file not shown.
Binary file not shown.