mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
21 lines
487 B
Kotlin
21 lines
487 B
Kotlin
// "Add label to the loop" "true"
|
|
// LANGUAGE_VERSION: 1.3
|
|
|
|
fun breakContinueInWhen(i: Int) {
|
|
for (y in 0..10) {
|
|
when(i) {
|
|
0 -> bre<caret>ak
|
|
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 |