Files
kotlin-fork/idea/testData/usageHighlighter/labeledAnonymousFun.kt
T
Alexey Sedunov 3c94184de9 Rename: Support labeled expressions
#KT-7107 Fixed
2017-05-16 13:10:34 +03:00

5 lines
149 B
Kotlin
Vendored

fun <R> foo(f: () -> R) = f()
fun test() {
foo (<info descr="null">~bar</info>@ fun(): Boolean { return@<info descr="null">bar</info> false })
}