[AA LC] Expand aliases of type arguments during conversion to KtType

^KT-55781
This commit is contained in:
Dmitriy Novozhilov
2022-10-03 17:01:25 +03:00
committed by Space Team
parent 36ae901b19
commit ed867af01d
10 changed files with 80 additions and 2 deletions
@@ -119,7 +119,7 @@ fun <T : ConeKotlinType> T.withArguments(arguments: Array<out ConeTypeProjection
@Suppress("UNCHECKED_CAST")
return when (this) {
is ConeErrorType -> ConeErrorType(diagnostic, isUninferredParameter, arguments, attributes) as T
is ConeClassLikeTypeImpl -> ConeClassLikeTypeImpl(lookupTag, arguments, nullability.isNullable) as T
is ConeClassLikeTypeImpl -> ConeClassLikeTypeImpl(lookupTag, arguments, nullability.isNullable, attributes) as T
is ConeDefinitelyNotNullType -> ConeDefinitelyNotNullType(original.withArguments(arguments)) as T
else -> error("Not supported: $this: ${this.renderForDebugging()}")
}