JS backend: fix compiler crash on for with empty body

This commit is contained in:
Zalim Bashorov
2015-06-01 19:52:03 +03:00
parent f90df7aa35
commit ca4ce48801
5 changed files with 75 additions and 11 deletions
@@ -57,4 +57,12 @@ public final class ForeachTest extends AbstractExpressionTest {
public void testLabeledForWithWhile() throws Exception {
checkFooBoxIsOk();
}
public void testForWithEmptyBody() throws Exception {
checkFooBoxIsOk();
}
public void testForWithSideEffectImElementAccessAndWithEmptyBody() throws Exception {
checkFooBoxIsOk();
}
}