3ccd8839ff
#KT-5390 Fixed
13 lines
257 B
Kotlin
13 lines
257 B
Kotlin
fun foo() {
|
|
@Loop while (true) {
|
|
when (take()) {
|
|
1 -> continue
|
|
2 -> {
|
|
System.out.println("2")
|
|
return
|
|
}
|
|
3 -> break@Loop
|
|
}
|
|
System.out.println()
|
|
}
|
|
} |