break detection fix,

do..while fix
This commit is contained in:
Jindra Petřík
2021-02-07 21:38:22 +01:00
parent ebb0c9a8c5
commit ebc8e86323
8 changed files with 125 additions and 15 deletions

View File

@@ -27,6 +27,7 @@ package
TestDoWhile;
TestDoWhile2;
TestDoWhile3;
TestDoWhile4;
TestExpressions;
TestFinallyZeroJump;
TestFor;

View File

@@ -0,0 +1,26 @@
package tests
{
public class TestDoWhile4
{
public function run():*
{
var k:int = 8;
do
{
if (k == 9)
{
trace("h");
if (k == 9)
{
trace("f");
continue;
}
trace("b");
}
trace("gg");
} while (k < 10);
trace("ss");
}
}
}