Fix JS source map of decomposed conditional expression

This commit is contained in:
Alexey Andreev
2017-06-22 17:07:56 +03:00
parent b5218915f8
commit 4e18ea2d04
3 changed files with 31 additions and 3 deletions
@@ -0,0 +1,17 @@
fun box(x: Int) {
println(
if (
x > 100
)
42
else
foo()
)
}
private inline fun foo(): Int {
println("foo")
return 23
}
// LINES: 3 3 4 3 6 13 3 14 2 13 14