a939f9ccd0
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
32 lines
386 B
Kotlin
Vendored
32 lines
386 B
Kotlin
Vendored
// MODULE: lib
|
|
// FILE: a.kt
|
|
|
|
fun a() = "a"
|
|
|
|
// FILE: b.kt
|
|
|
|
fun b() = "b"
|
|
|
|
// MODULE: main(lib)
|
|
// FILE: test.kt
|
|
|
|
fun box() {
|
|
a()
|
|
b()
|
|
}
|
|
|
|
// EXPECTATIONS JVM JVM_IR
|
|
// test.kt:14 box
|
|
// a.kt:4 a
|
|
// test.kt:14 box
|
|
// test.kt:15 box
|
|
// b.kt:8 b
|
|
// test.kt:15 box
|
|
// test.kt:16 box
|
|
|
|
// EXPECTATIONS JS_IR
|
|
// test.kt:14 box
|
|
// a.kt:4 a
|
|
// test.kt:15 box
|
|
// b.kt:8 b
|
|
// test.kt:16 box |