Files
kotlin-fork/compiler/testData/lineNumber/custom/inTheEndOfLambdaArgumentOfInlineCall.kt
T
Denis Vnukov ddf92ef187 Creating IrLineNumberTestGenerated, adding line numbers for few common expressions
This PR enables LineNumberTestGenerated test on IR backend. The testing of
hardcoded sequence of line numbers is replaced with mere checks for set-like
checks for expected line numbers.
2018-08-29 12:52:20 +02:00

19 lines
227 B
Kotlin
Vendored

fun foo() {
bar {
nop()
baz()
}
}
inline fun bar(f: () -> Unit) {
nop()
f()
}
inline fun baz() {
nop()
}
fun nop() {}
// IGNORE_BACKEND: JVM_IR
// 2 20 21 3 4 25 26 5 27 6 9 10 11 14 15 17