JVM IR: Fix line numbers in callable reference classes
This commit is contained in:
committed by
max-kammerer
parent
59f2aa7add
commit
e261b1e2de
@@ -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
|
||||
Reference in New Issue
Block a user