mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
18 lines
330 B
Kotlin
Vendored
18 lines
330 B
Kotlin
Vendored
fun call(f: () -> Unit) = f()
|
|
|
|
fun f1() {
|
|
outer@ while (true) {
|
|
call {
|
|
<!BREAK_OR_CONTINUE_JUMPS_ACROSS_FUNCTION_BOUNDARY!>break@outer<!>
|
|
}
|
|
}
|
|
}
|
|
|
|
fun f2() {
|
|
do {
|
|
fun inner() {
|
|
<!BREAK_OR_CONTINUE_JUMPS_ACROSS_FUNCTION_BOUNDARY!>continue<!>
|
|
}
|
|
} while (true)
|
|
}
|