[FIR] Never create ConeSubstitutorByMap with empty substitution
Relates to KT-66323
This commit is contained in:
committed by
Space Team
parent
6c691b497a
commit
624bea3ecf
@@ -900,7 +900,7 @@ internal fun FirQualifiedAccessExpression.buildSubstitutorByCalledCallable(): Co
|
||||
val typeProjection = typeArguments.getOrNull(index) as? FirTypeProjectionWithVariance ?: continue
|
||||
map[typeParameter.symbol] = typeProjection.typeRef.coneType
|
||||
}
|
||||
return ConeSubstitutorByMap(map, session)
|
||||
return ConeSubstitutorByMap.create(map, session)
|
||||
}
|
||||
|
||||
val augmentedArrayAssignSourceKindToIrStatementOrigin = mapOf(
|
||||
|
||||
Reference in New Issue
Block a user