f8039249c6
Also #KT-13612 Fixed (cherry picked from commit 7c188b3)
37 lines
591 B
Kotlin
Vendored
37 lines
591 B
Kotlin
Vendored
fun foo() {
|
|
outer@while (true) {
|
|
try {
|
|
while (true) {
|
|
continue@outer
|
|
}
|
|
} finally {
|
|
break
|
|
}
|
|
}
|
|
println("OK")
|
|
}
|
|
|
|
fun bar(): String {
|
|
outer@while (true) {
|
|
try {
|
|
while (true) {
|
|
continue@outer
|
|
}
|
|
} finally {
|
|
return "OK"
|
|
}
|
|
}
|
|
}
|
|
|
|
fun baz(): String {
|
|
outer@while (true) {
|
|
try {
|
|
inner@while (true) {
|
|
continue@inner
|
|
}
|
|
} finally {
|
|
return "OK"
|
|
}
|
|
}
|
|
}
|