[JS IR BE] Fix boolean companion object

This commit is contained in:
Svyatoslav Kuzmich
2019-04-15 18:32:03 +03:00
parent 864f99782e
commit 7c2ee41491
@@ -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)