KT-6476 Kotlin J2K converter fails with for-loops with continues

#KT-6476 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-03-25 22:20:29 +03:00
parent 2d4055e921
commit e31648a4b6
14 changed files with 280 additions and 58 deletions
@@ -0,0 +1,15 @@
public class TestClass {
public static void main(String[] args) {
OuterLoop1:
OuterLoop2:
for (int i = 1; i < 1000; i *= 2) {
InnerLoop:
for (int j = 1; j < 100; j *= 3) {
if (j == 3) continue InnerLoop;
if (i == j) continue OuterLoop1;
System.err.println(j);
if (j == 9) continue;
}
}
}
}