Files
kotlin/compiler/testData/lineNumber/custom/functionCallWithInlinedLambdaParam.kt
2014-12-23 14:40:26 +03:00

17 lines
174 B
Kotlin

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