Files
Vladimir Dolzhenko 1697b4cdc6 [kotlin] Use IGNORE_K2 instead of IGNORE_FIR
GitOrigin-RevId: e380b6203a00315f718b7e08d1048ec284dce1a3
2023-08-30 11:02:38 +00:00

23 lines
562 B
Plaintext

// "Add label to the loop" "true"
// LANGUAGE_VERSION: 1.3
fun breakContinueInWhen(i: Int) {
loop@ for (x in 0..10) {
loop1@ for (y in 0..10) {
when(i) {
0 -> co<caret>ntinue@loop1
2 -> {
for(z in 0..10) {
break
}
for(w in 0..10) {
continue
}
}
}
}
}
}
/* IGNORE_K2 */
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.codeinsights.impl.base.quickFix.AddLoopLabelFix