[K/JS] add miss StartProjection for the substitution inside lowerings ^KT-55852 Fixed

This commit is contained in:
Artem Kobzar
2023-01-13 13:28:42 +00:00
committed by Space Team
parent 9542a8a07a
commit 6a6308bef2
5 changed files with 18 additions and 2 deletions
@@ -66,6 +66,7 @@ class TransitiveExportCollector(val context: JsIrBackendContext) {
return when (this) {
is IrType -> substitute(typeSubstitutionMap)
is IrTypeProjection -> type.substitute(typeSubstitutionMap)
is IrStarProjection -> context.irBuiltIns.anyNType
else -> error("Unexpected ir type argument")
}
}