[JS IR BE] Use Char boxing rules of current backend
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package testUtils
|
||||
|
||||
fun isLegacyBackend(): Boolean =
|
||||
// Using eval to prevent DCE from thinking that following code depends on Kotlin module.
|
||||
eval("(typeof Kotlin != \"undefined\" && typeof Kotlin.kotlin != \"undefined\")").unsafeCast<Boolean>()
|
||||
|
||||
Reference in New Issue
Block a user