Fix JS source maps for when expression

This commit is contained in:
Alexey Andreev
2017-06-23 12:19:48 +03:00
parent d613124cb1
commit be7f3a787c
6 changed files with 33 additions and 3 deletions
@@ -0,0 +1,21 @@
fun box(x: Int) {
println(
when (
x
) {
1,
2,
3 ->
55
4,
5 ->
66
else ->
77
}
)
}
// LINES: 19 4 4 3 6 4 6 4 7 4 8 9 9 11 4 11 4 12 13 13 16 16 2