Files
kotlin-fork/compiler/testData/debug/stepping/lineNumberAfterInline.kt
T
Sergej Jaskiewicz a939f9ccd0 [JS IR] Improve debug info precision for blocks
Namely:
- Generate debug info for closing braces, which allows the breakpoints
  set on closing braces to be hit
- Generate debug info for 'if' and 'try/catch' statements.

KT-46276
2022-10-18 14:31:14 +00:00

48 lines
687 B
Kotlin
Vendored

// FILE: test.kt
fun normalFunction() {
"OK"
}
inline fun inlineFunction() {
"OK"
}
fun test1() {
inlineFunction()
"OK"
}
fun test2() {
normalFunction()
"OK"
}
fun box() {
test1()
test2()
}
// EXPECTATIONS JVM JVM_IR
// test.kt:22 box
// test.kt:12 test1
// test.kt:8 test1
// test.kt:9 test1
// test.kt:13 test1
// test.kt:14 test1
// test.kt:23 box
// test.kt:17 test2
// test.kt:4 normalFunction
// test.kt:5 normalFunction
// test.kt:18 test2
// test.kt:19 test2
// test.kt:24 box
// EXPECTATIONS JS_IR
// test.kt:22 box
// test.kt:14 test1
// test.kt:23 box
// test.kt:17 test2
// test.kt:5 normalFunction
// test.kt:19 test2
// test.kt:24 box