Files
kotlin-fork/js/js.translator/testData/lineNumbers/propertyWithoutInitializer.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

14 lines
192 B
Kotlin
Vendored

open class A {
val x: Int
open val y: Int
init {
x = 23
y = 42
}
}
// LINES(JS): 1 2 4 7 7 8 8 4 4 4
// LINES(JS_IR): 1 1 7 7 8 8 2 2 2 4 4 4