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
29 lines
411 B
Kotlin
Vendored
29 lines
411 B
Kotlin
Vendored
// FILE: test.kt
|
|
|
|
fun box() {
|
|
val a: Int? = 0
|
|
when (a) {
|
|
1 -> {
|
|
1 + 1
|
|
}
|
|
2 -> {
|
|
2 + 1
|
|
}
|
|
else -> {
|
|
0 + 0
|
|
}
|
|
}
|
|
}
|
|
|
|
// EXPECTATIONS JVM JVM_IR
|
|
// test.kt:4 box
|
|
// test.kt:5 box
|
|
// test.kt:6 box
|
|
// test.kt:9 box
|
|
// test.kt:13 box
|
|
// test.kt:16 box
|
|
|
|
// EXPECTATIONS JS_IR
|
|
// test.kt:4 box
|
|
// test.kt:5 box
|
|
// test.kt:16 box |