Files
kotlin-fork/js/js.translator/testData/lineNumbers/whileWithComplexCondition.kt
T
Alexey Andreev dea73ebecf Refactor generator of JS source map
- refactor pipeline for generation of source map
- generate "empty" mappings for nodes that impossible
  to map to something reasonable
- generate more accurate locations in source maps for specific
  JS AST nodes
- for binary operation nodes parser now returns location
  of binary operator tokens instead of location of first operand
- change completely how source map remapper works
2017-07-06 10:20:41 +03:00

15 lines
220 B
Kotlin
Vendored

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