Fix JS source maps for optional arguments

Also, when function has expression body, use expression instead
of function declaration to mark return statement.
This commit is contained in:
Alexey Andreev
2017-05-15 17:45:32 +03:00
parent 6f0e4c4deb
commit b70c52e41f
7 changed files with 28 additions and 6 deletions
+1 -1
View File
@@ -7,4 +7,4 @@ fun box(
println(y)
}
// LINES: 2 2 3 4 6 7
// LINES: 2 2 3 3 4 6 7