diff --git a/compiler/fir/providers/src/org/jetbrains/kotlin/fir/types/ConeTypeContext.kt b/compiler/fir/providers/src/org/jetbrains/kotlin/fir/types/ConeTypeContext.kt index 7d8904ff9eb..66e53a4001d 100644 --- a/compiler/fir/providers/src/org/jetbrains/kotlin/fir/types/ConeTypeContext.kt +++ b/compiler/fir/providers/src/org/jetbrains/kotlin/fir/types/ConeTypeContext.kt @@ -236,7 +236,6 @@ interface ConeTypeContext : TypeSystemContext, TypeSystemOptimizationContext, Ty require(newType is ConeKotlinType) return when (this) { is ConeKotlinType -> newType - is ConeStarProjection -> ConeStarProjection is ConeKotlinTypeProjectionOut -> ConeKotlinTypeProjectionOut(newType) is ConeKotlinTypeProjectionIn -> ConeKotlinTypeProjectionIn(newType) is ConeKotlinTypeConflictingProjection -> ConeKotlinTypeConflictingProjection(newType)