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

16 lines
150 B
Kotlin

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