mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-26 08:25:34 +00:00
Fixed AS3 - direct editation - call on local register
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -17,6 +17,7 @@ package
|
||||
{
|
||||
TestActivationArguments;
|
||||
TestArguments;
|
||||
TestCallLocal;
|
||||
TestCatchFinally;
|
||||
TestChain2;
|
||||
TestChainedAssignments;
|
||||
|
||||
19
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestCallLocal.as
vendored
Normal file
19
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestCallLocal.as
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestCallLocal
|
||||
{
|
||||
public function getF(): Function
|
||||
{
|
||||
return function(a:int, b:int):int {
|
||||
return a + b;
|
||||
};
|
||||
}
|
||||
|
||||
public function run():*
|
||||
{
|
||||
var f:Function = getF();
|
||||
var b:int = f(1, 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user