mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-16 21:51:54 +00:00
Fixed: AS3 inner functions scope (setslot/getslot)
This commit is contained in:
19
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestInnerFunctionScope.as
vendored
Normal file
19
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestInnerFunctionScope.as
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestInnerFunctionScope
|
||||
{
|
||||
public function run(a:String):*
|
||||
{
|
||||
var innerFunc:Function = function(b:String):*
|
||||
{
|
||||
testProm = 4;
|
||||
trace(testProm);
|
||||
};
|
||||
|
||||
innerFunc(a);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var testProm:int = 5;
|
||||
Reference in New Issue
Block a user