fda8d7de8b
Some quickfixes are relying on diagnostics, that won't be reported with new language features enabled. `MixedNamedArgumentsInTheirOwnPosition` `AllowBreakAndContinueInsideWhen`
19 lines
374 B
Kotlin
Vendored
19 lines
374 B
Kotlin
Vendored
// "Add label to loop" "true"
|
|
// LANGUAGE_VERSION: 1.3
|
|
|
|
fun breakContinueInWhen(i: Int) {
|
|
for (y in 0..10) {
|
|
when(i) {
|
|
0 -> co<caret>ntinue
|
|
2 -> {
|
|
for(z in 0..10) {
|
|
break
|
|
}
|
|
for(w in 0..10) {
|
|
continue
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|