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

16 lines
254 B
Kotlin
Vendored

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