Files
kotlin/idea/testData/quickfix/migration/obsoleteLabelSyntax/lambda.kt
2015-05-20 09:24:57 +03:00

10 lines
142 B
Kotlin
Vendored

// "Replace with label label@" "true"
fun run(block: () -> Unit) = block()
fun foo() {
run @label<caret> {
return@label
}
}