mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
10 lines
142 B
Kotlin
Vendored
10 lines
142 B
Kotlin
Vendored
// "Replace with label label@" "true"
|
|
|
|
fun run(block: () -> Unit) = block()
|
|
|
|
fun foo() {
|
|
run @label<caret> {
|
|
return@label
|
|
}
|
|
}
|