Fix JS source maps for while/do..while statements

This commit is contained in:
Alexey Andreev
2017-05-12 14:56:20 +03:00
parent 413ac40c25
commit 1111f2d5cd
5 changed files with 52 additions and 5 deletions
@@ -0,0 +1,16 @@
fun box() {
var i = 0
do {
println("body: $i")
}
while(
try {
i++
}
finally {
println("finally: $i")
} < i
)
}
// LINES: 8 3 2 3 3 3 8 11 3 7 12 3 3 4