Files
kotlin-fork/compiler/testData/lineNumber/custom/inTheEndOfLambdaArgumentOfInlineCall.kt
T
pyos e98bdc6f8e JVM: preserve call site markers when inlining lambdas
and default functions into their own stubs.

Fixes #KT-35006
2020-03-31 16:06:57 +02:00

19 lines
202 B
Kotlin
Vendored

fun foo() {
bar {
nop()
baz()
}
}
inline fun bar(f: () -> Unit) {
nop()
f()
}
inline fun baz() {
nop()
}
fun nop() {}
// 2 20 21 3 4 22 23 5 24 6 9 10 11 14 15 17