Fix JS source maps for increment expression used as statement

This commit is contained in:
Alexey Andreev
2017-05-05 23:03:59 +03:00
parent bad79dfa85
commit ad89e5906f
3 changed files with 26 additions and 7 deletions
+11
View File
@@ -0,0 +1,11 @@
fun foo(x: Int) {
var y = x
y++
println(y)
++y
println(y)
y += 2
println(y)
}
// LINES: 2 3 4 5 6 7 8