[NI] Remove capturing from supertypes during computation of CST
This commit is contained in:
@@ -72,6 +72,15 @@ interface IrTypeSystemContext : TypeSystemContext, TypeSystemCommonSuperTypesCon
|
||||
|
||||
override fun SimpleTypeMarker.typeConstructor() = (this as IrSimpleType).classifier
|
||||
|
||||
override fun CapturedTypeMarker.typeConstructor(): CapturedTypeConstructorMarker =
|
||||
error("Captured types should be used for IrTypes")
|
||||
|
||||
override fun CapturedTypeMarker.captureStatus(): CaptureStatus =
|
||||
error("Captured types should be used for IrTypes")
|
||||
|
||||
override fun CapturedTypeConstructorMarker.projection(): TypeArgumentMarker =
|
||||
error("Captured types should be used for IrTypes")
|
||||
|
||||
override fun KotlinTypeMarker.argumentsCount(): Int =
|
||||
when (this) {
|
||||
is IrSimpleType -> arguments.size
|
||||
|
||||
Reference in New Issue
Block a user