Files
jpexs-decompiler/libsrc/ffdec_lib/testdata/cross_compile/src/tests/TestTryCatchLoop.as
Jindra Petřík adf153e13a Improved tests.
Fixed try..catch..finally.
2021-01-31 15:52:22 +01:00

42 lines
468 B
ActionScript

package tests
{
import flash.errors.EOFError;
/**
* ...
* @author JPEXS
*/
public class TestTryCatchLoop
{
public function run() : void
{
var i:int = 0;
while (i < 100)
{
try
{
var j:int = 0;
while (j < 20)
{
trace("a");
j++;
}
}
catch (e:EOFError)
{
continue;
}
catch (e:Error)
{
continue;
}
trace("after_try");
i++;
}
trace("end");
}
}
}