JVM IR: Fix line numbers in callable reference classes

This commit is contained in:
Steven Schäfer
2019-12-19 11:38:58 +01:00
committed by max-kammerer
parent 59f2aa7add
commit e261b1e2de
9 changed files with 143 additions and 8 deletions
@@ -0,0 +1,20 @@
// FILE: test.kt
fun box() {
var x = false
f {
x = true
}
}
inline fun f(block: () -> Unit) {
block()
}
// LINENUMBERS
// TestKt.box():3
// TestKt.box():4
// TestKt.box():10
// TestKt.box():5
// TestKt.box():6
// TestKt.box():11
// TestKt.box():7