Files
kotlin-fork/compiler/testData/lineNumber/custom/functionCallWithInlinedLambdaParam.kt
T
2015-03-16 18:52:01 +03:00

17 lines
180 B
Kotlin

fun foo() {
foo({
val a = 1
})
foo() {
val a = 1
}
}
inline fun foo(f: () -> Unit) {
val a = 1
f()
}
// 2 12 3 6 12 7 9 12 13 14