[JS IR BE] Proper support for String and Any constructors

Remove workarounds from codegen
This commit is contained in:
Svyatoslav Kuzmich
2019-07-03 20:37:01 +03:00
parent d7cb3e05ef
commit 94aebd0101
5 changed files with 38 additions and 7 deletions
@@ -100,5 +100,8 @@ internal fun extendThrowable(this_: dynamic, message: String?, cause: Throwable?
captureStack(this_)
}
@JsName("Object")
internal external class JsObject
internal fun <T, R> boxIntrinsic(x: T): R = error("Should be lowered")
internal fun <T, R> unboxIntrinsic(x: T): R = error("Should be lowered")