mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-26 20:15:35 +00:00
AS3 Fix and/or in try clause
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -77,6 +77,7 @@ package
|
||||
TestSwitchDefault;
|
||||
TestTernarOperator;
|
||||
TestTry;
|
||||
TestTryIf;
|
||||
TestTryReturn;
|
||||
TestTryReturn2;
|
||||
TestUsagesTry;
|
||||
|
||||
23
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestTryIf.as
vendored
Normal file
23
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestTryIf.as
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestTryIf
|
||||
{
|
||||
public function run():*
|
||||
{
|
||||
var a:int = Math.random();
|
||||
try
|
||||
{
|
||||
if (a > 5 && a < 50)
|
||||
{
|
||||
trace("in limits");
|
||||
}
|
||||
trace("next");
|
||||
}
|
||||
catch (e:Error)
|
||||
{
|
||||
trace("in catch");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user