Files
kotlin/compiler/testData/lineNumber/custom/functionCallWithInlinedLambdaParam.kt
2015-11-26 11:39:18 +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 12 13 3 4 14 6 12 13 7 8 14 9 12 13 14