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
14 lines
256 B
Kotlin
Vendored
14 lines
256 B
Kotlin
Vendored
inline fun foo(x: Int) {
|
|
val y = x > 23
|
|
if (y) {
|
|
println("foo")
|
|
}
|
|
}
|
|
|
|
fun bar() {
|
|
foo(42)
|
|
}
|
|
|
|
// LINES(JS): 1 1 1 1 1 6 2 2 3 3 4 4 8 10 2 2 9 2 3 3 4 4
|
|
// LINES(JS_IR): 1 1 2 2 3 3 3 4 4 8 8 9 * 2 2 3 3 3 4 4
|