Files
kotlin-fork/js/js.translator/testData/lineNumbers/whileWithComplexCondition.kt
T
Roman Artemev 46b98a1e98 [JS BE] Make sourceMap generation more precise
- Don't produce mapping for closing bracket in case of expressionBody
 - Map Kt*Function declaration into corresponding js fun declaration
 - Update test data & add new test
2019-07-24 18:56:40 +03:00

15 lines
238 B
Kotlin
Vendored

fun box() {
var i = 0
while(
try {
i++
}
finally {
println("finally: $i")
} < i
) {
println("body: $i")
}
}
// LINES: 1 13 5 5 4 2 2 3 5 5 8 8 * 3 4 9 3 11 11