JS backend: add support for break, return, continue, throw in expressions

This commit is contained in:
Michael Nedzelsky
2014-08-26 14:08:32 +04:00
parent 2296eeef84
commit 3578845e87
26 changed files with 711 additions and 131 deletions
@@ -121,4 +121,15 @@ public class EvaluationOrderTest extends AbstractExpressionTest {
checkFooBoxIsOk();
}
public void testIntrinsicWithBreakContinueReturn() throws Exception {
checkFooBoxIsOk();
}
public void testCallWithBreakContinueReturn() throws Exception {
checkFooBoxIsOk();
}
public void testLoopWithBreakContinueReturnInCondition() throws Exception {
checkFooBoxIsOk();
}
}
@@ -54,7 +54,7 @@ public final class ForeachTest extends AbstractExpressionTest {
checkFooBoxIsOk();
}
public void testForWithWhile() throws Exception {
public void testLabeledForWithWhile() throws Exception {
checkFooBoxIsOk();
}
}