Fixed AS3 - direct editation - arguments object on method with activation

This commit is contained in:
Jindra Petřík
2021-12-04 14:49:38 +01:00
parent b0962137f9
commit c1dd430f43
7 changed files with 22 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
</define>
<define append="true">
<name>CONFIG::timeStamp</name>
<value>'02.12.2021'</value>
<value>'04.12.2021'</value>
</define>
<define append="true">
<name>CONFIG::air</name>

View File

@@ -15,6 +15,7 @@ package
*/
public class Main extends Sprite
{
TestActivationArguments;
TestArguments;
TestCatchFinally;
TestChain2;

View File

@@ -0,0 +1,16 @@
package tests
{
public class TestActivationArguments
{
public function run():*
{
var func:Function = function(a:int, b:int):int {
return a + b;
}
if (arguments.length > 0){
trace(arguments[0]);
}
}
}
}