IR: remove IrSimpleTypeBuilder.variance

IrCapturedType (which is a IrSimpleType) does not have variance, so it
is confusing to have it in IrSimpleTypeBuilder, and it's clearer to
construct type projection separately anyway.
This commit is contained in:
Alexander Udalov
2023-11-17 19:31:36 +01:00
committed by Space Team
parent 898d3aeea9
commit 8379e48e33
4 changed files with 9 additions and 9 deletions
@@ -212,7 +212,7 @@ class IrBodyDeserializer(
val rawType = with(IrSimpleTypeBuilder()) {
arguments = typeParameters.memoryOptimizedMap {
classifier = it.symbol
buildTypeProjection()
buildSimpleType()
}
classifier = klass.symbol
buildSimpleType()