[FIR] Add ConeKotlinTypeConflictingProjection, return it from substituteArgument instead of ConeStarProjection in appropriate cases, remove plus operator from ProjectionKind

This commit is contained in:
Ivan Kochurkin
2021-06-01 16:20:38 +03:00
committed by teamcityserver
parent b85846c0c0
commit ca970f0a8b
7 changed files with 43 additions and 24 deletions
@@ -49,6 +49,7 @@ private fun ConeTypeProjection.renderForDebugInfo(): String {
ConeStarProjection -> "*"
is ConeKotlinTypeProjectionIn -> "in ${type.renderForDebugInfo()}"
is ConeKotlinTypeProjectionOut -> "out ${type.renderForDebugInfo()}"
is ConeKotlinTypeConflictingProjection -> "CONFLICTING-PROJECTION ${type.renderForDebugInfo()}"
is ConeKotlinType -> renderForDebugInfo()
}
}