[FIR] Prepare commonization of PostponedArgumentInputTypesResolver
This commit is contained in:
@@ -94,6 +94,12 @@ interface IrTypeSystemContext : TypeSystemContext, TypeSystemCommonSuperTypesCon
|
||||
else -> error("Type $this has no arguments")
|
||||
}
|
||||
|
||||
override fun KotlinTypeMarker.getArguments(): List<TypeArgumentMarker> =
|
||||
when (this) {
|
||||
is IrSimpleType -> arguments
|
||||
else -> error("Type $this has no arguments")
|
||||
}
|
||||
|
||||
override fun KotlinTypeMarker.asTypeArgument() = this as IrTypeArgument
|
||||
|
||||
override fun CapturedTypeMarker.lowerType(): KotlinTypeMarker? = error("Captured Type is not valid for IrTypes")
|
||||
|
||||
Reference in New Issue
Block a user