IR: remove obsolete descriptor-based utils for IrMemberAccessExpression

Except `putTypeArguments`, which is moved to psi2ir where it's used.
This commit is contained in:
Alexander Udalov
2023-03-28 18:56:05 +02:00
committed by Alexander Udalov
parent 36183c411a
commit 35776ed4fa
7 changed files with 18 additions and 62 deletions
@@ -1601,7 +1601,7 @@ class ExpressionCodegen(
//avoid ambiguity with type constructor type parameters
emptyMap()
} else typeArgumentContainer.typeParameters.associate {
it.symbol to element.getTypeArgumentOrDefault(it)
it.symbol to (element.getTypeArgument(it.index) ?: it.defaultType)
}
val mappings = TypeParameterMappings(typeMapper.typeSystem, typeArguments, allReified = false, typeMapper::mapTypeParameter)