diff --git a/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/JsIrBackendContext.kt b/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/JsIrBackendContext.kt index d5a73edef18..aaab7c944ff 100644 --- a/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/JsIrBackendContext.kt +++ b/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/JsIrBackendContext.kt @@ -148,7 +148,7 @@ class JsIrBackendContext( .filter { it.name != "LONG" && it.name != "CHAR" } // skip due to they have own explicit companions .map { it.typeName } - return numbers + listOf(Name.identifier("String")) + return numbers + listOf(Name.identifier("String"), Name.identifier("Boolean")) } val dynamicType: IrDynamicType = IrDynamicTypeImpl(null, emptyList(), Variance.INVARIANT)