Files
kotlin-fork/compiler/testData/lineNumber/custom/functionCallWithInlinedLambdaParam.kt
T
2016-04-20 17:07:09 +03:00

17 lines
196 B
Kotlin
Vendored

fun foo() {
foo({
val a = 1
})
foo() {
val a = 1
}
}
inline fun foo(f: () -> Unit) {
val a = 1
f()
}
// 2 18 19 3 4 20 6 21 22 7 8 23 9 12 13 14