KT-6476 Kotlin J2K converter fails with for-loops with continues
#KT-6476 Fixed
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user