JVM replace redundant GOTOs with NOPs to preserve debugging behavior

This commit is contained in:
Dmitry Petrov
2021-09-28 10:16:35 +03:00
committed by teamcityserver
parent 0a67ab54fe
commit ca7ee75f88
6 changed files with 37 additions and 7 deletions
@@ -0,0 +1,21 @@
// FILE: test.kt
fun box() {
lookAtMe {
val c = "c"
}
}
inline fun lookAtMe(f: (String) -> Unit) {
val a = "a"
f(a)
}
// LINENUMBERS
// test.kt:4 box
// test.kt:10 box
// test.kt:11 box
// test.kt:5 box
// test.kt:6 box
// test.kt:12 box
// test.kt:7 box