Fixed AS3 - direct editation - call on local register

This commit is contained in:
Jindra Petřík
2021-12-04 16:32:02 +01:00
parent 7599ba5dd0
commit dc773af1e2
8 changed files with 60 additions and 26 deletions

View File

@@ -17,6 +17,7 @@ package
{
TestActivationArguments;
TestArguments;
TestCallLocal;
TestCatchFinally;
TestChain2;
TestChainedAssignments;

View 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);
}
}
}