[FIR] KT-57665: Make dynamic members' parameters dynamic
Parameter types are not only used "to accept" some data, but they also are used as inputs for inference (expected types) ^KT-57665 Fixed
This commit is contained in:
committed by
Space Team
parent
18f80b1ab5
commit
3b0a923210
@@ -128,7 +128,7 @@ class FirDynamicMembersStorage(val session: FirSession) : FirSessionComponent {
|
||||
private val anyArrayTypeRef = buildResolvedTypeRef {
|
||||
type = ConeClassLikeTypeImpl(
|
||||
StandardClassIds.Array.toLookupTag(),
|
||||
arrayOf(session.builtinTypes.nullableAnyType.coneType),
|
||||
arrayOf(dynamicTypeRef.coneType),
|
||||
isNullable = false
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user