Fix JS source maps for && expression with complex operands

This commit is contained in:
Alexey Andreev
2017-05-12 15:29:01 +03:00
parent 1111f2d5cd
commit bfc3a9c2af
3 changed files with 21 additions and 3 deletions
@@ -0,0 +1,9 @@
fun box(x: Int, y: Int) {
println(
try { foo(x) } finally { println(x) } > 10 &&
try { foo(y) } finally { println(y) } > 20)
}
fun foo(x: Int) = x
// LINES: 3 3 3 4 4 4 4 2 3 7