[JS IR] Support per-file mode and ES modules
This commit is contained in:
+2
-1
@@ -5,6 +5,7 @@
|
||||
|
||||
// FILE: A.kt
|
||||
val a1 = "a".let {
|
||||
throw Error()
|
||||
it + "a"
|
||||
}
|
||||
|
||||
@@ -39,5 +40,5 @@ fun box(): String {
|
||||
C.values()
|
||||
C.valueOf("OK")
|
||||
val baz = b
|
||||
return if (js("typeof a1") == "undefined") "OK" else "fail"
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user