ddf92ef187
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.
19 lines
227 B
Kotlin
Vendored
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 |