Files
kotlin-fork/js/js.translator/testData/lineNumbers/jsCode.kt
T
Alexey Andreev 27e319a279 JS: fix parsing of object literals in js() function.
Also, fix generation of source maps of content of js() function.

See KT-19794
2017-10-04 12:01:51 +03:00

8 lines
144 B
Kotlin
Vendored

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