mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-28 16:55:38 +00:00
Fixed: #2267 Script decompilation - Loop detection causing §§goto instructions in some cases
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -130,6 +130,7 @@ package
|
||||
TestWhileBreak;
|
||||
TestWhileBreak2;
|
||||
TestWhileContinue;
|
||||
TestWhileDoWhile;
|
||||
TestWhileSwitch;
|
||||
TestWhileTry;
|
||||
TestWhileTry2;
|
||||
|
||||
24
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestWhileDoWhile.as
vendored
Normal file
24
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestWhileDoWhile.as
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestWhileDoWhile
|
||||
{
|
||||
public function run():*
|
||||
{
|
||||
trace("A");
|
||||
var i:int = 0;
|
||||
|
||||
while (i < 10)
|
||||
{
|
||||
trace("B");
|
||||
do
|
||||
{
|
||||
i++;
|
||||
trace("C");
|
||||
} while (i < 5);
|
||||
}
|
||||
trace("E");
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user