FIR: Substitute dispatch receiver in substitution overrides
This commit is contained in:
committed by
teamcity
parent
6cf2c6f93a
commit
2e01377ce0
+6
-2
@@ -165,8 +165,12 @@ private fun FirClass.scopeForClassImpl(
|
|||||||
this, key
|
this, key
|
||||||
) {
|
) {
|
||||||
FirClassSubstitutionScope(
|
FirClassSubstitutionScope(
|
||||||
useSiteSession, basicScope, key, substitutor, classFirDispatchReceiver.defaultType(),
|
useSiteSession,
|
||||||
skipPrivateMembers, makeExpect = isFromExpectClass
|
basicScope,
|
||||||
|
key, substitutor,
|
||||||
|
substitutor.substituteOrSelf(classFirDispatchReceiver.defaultType()) as ConeClassLikeType,
|
||||||
|
skipPrivateMembers,
|
||||||
|
makeExpect = isFromExpectClass
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user