Files
kotlin-fork/js/js.translator/testData/lineNumbers/conditionalDecomposed.kt
T
Alexander Korepanov 6df0e0c847 [JS FIR] Enable FirJsLineNumberTests for FIR
^KT-64426 Fixed
2024-01-10 19:02:15 +00:00

19 lines
373 B
Kotlin
Vendored

fun box(x: Int) {
println(
if (
x > 100
)
42
else
foo()
)
}
private inline fun foo(): Int {
println("foo")
return 23
}
// LINES(ClassicFrontend JS_IR): 1 1 * 3 4 6 * 13 13 14 2 12 12 13 13 14 14
// LINES(FIR JS_IR): 1 1 * 4 4 6 * 13 13 14 2 12 12 13 13 14 14