[FIR] Match ordering of type arguments with type parameters

This commit is contained in:
simon.ogorodnik
2020-04-09 22:22:14 +03:00
parent 27537f71df
commit cd4a7a25c3
@@ -185,7 +185,7 @@ fun FirClassifierSymbol<*>.constructType(
}
private fun List<FirQualifierPart>.toTypeProjections(): Array<ConeTypeProjection> = flatMap {
private fun List<FirQualifierPart>.toTypeProjections(): Array<ConeTypeProjection> = asReversed().flatMap {
it.typeArguments.map { typeArgument ->
when (typeArgument) {
is FirStarProjection -> ConeStarProjection