AS3 test methods separated to classes, Fixed AS3: get/set slot for global scope

This commit is contained in:
Jindra Petřík
2021-01-18 19:14:51 +01:00
parent cdc3eec1f2
commit cade4549fb
94 changed files with 1999 additions and 138 deletions

View File

@@ -0,0 +1,30 @@
package tests
{
public class TestTry
{
public function run():*
{
var i:int = 0;
i = 7;
try
{
trace("try body");
}
catch (e:DefinitionError)
{
trace("catched DefinitionError");
}
catch (e:Error)
{
trace("Error message:" + e.message);
trace("Stacktrace:" + e.getStackTrace());
}
finally
{
trace("Finally part");
}
trace("end");
}
}
}