mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-22 22:55:47 +00:00
deobfuscation fix
try..return
This commit is contained in:
Binary file not shown.
@@ -76,6 +76,7 @@ package
|
||||
TestTernarOperator;
|
||||
TestTry;
|
||||
TestTryReturn;
|
||||
TestTryReturn2;
|
||||
TestVector;
|
||||
TestVector2;
|
||||
TestWhileAnd;
|
||||
|
||||
42
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestTryReturn2.as
vendored
Normal file
42
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestTryReturn2.as
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
package tests
|
||||
{
|
||||
public class TestTryReturn2
|
||||
{
|
||||
|
||||
public function run() : String
|
||||
{
|
||||
trace("before");
|
||||
var a:Boolean = true;
|
||||
var b:Boolean = false;
|
||||
var c:Boolean = true;
|
||||
var d:Boolean = false;
|
||||
try
|
||||
{
|
||||
if (a)
|
||||
{
|
||||
return "A";
|
||||
}
|
||||
if (b)
|
||||
{
|
||||
return "B";
|
||||
}
|
||||
}
|
||||
catch (e:Error)
|
||||
{
|
||||
if (d){
|
||||
return "D";
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (c) {
|
||||
return "C";
|
||||
}
|
||||
}
|
||||
trace("after");
|
||||
return "X";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user