JS: fix parsing of object literals in js() function.

Also, fix generation of source maps of content of js() function.

See KT-19794
This commit is contained in:
Alexey Andreev
2017-09-29 13:09:42 +03:00
parent c15847a957
commit 27e319a279
15 changed files with 183 additions and 31 deletions
+8
View File
@@ -0,0 +1,8 @@
fun foo() {
var x = "foo"
println("before: $x")
js("console.log('js' + x);")
println("after: $x")
}
// LINES: 6 2 2 3 3 4 4 5 5