[FE] CheckContextReceiversResolutionPart: return if no context receivers
This commit is contained in:
committed by
TeamCityServer
parent
ac27fda965
commit
17b7bca5e4
+1
@@ -847,6 +847,7 @@ internal object ErrorDescriptorResolutionPart : ResolutionPart() {
|
||||
|
||||
internal object CheckContextReceiversResolutionPart : ResolutionPart() {
|
||||
override fun ResolutionCandidate.process(workIndex: Int) {
|
||||
if (candidateDescriptor.contextReceiverParameters.isEmpty()) return
|
||||
val parentLexicalScopes = scopeTower.lexicalScope.parentsWithSelf.filterIsInstance<LexicalScope>()
|
||||
val implicitReceiversGroups = mutableListOf<List<ReceiverValueWithSmartCastInfo>>()
|
||||
for (scope in parentLexicalScopes) {
|
||||
|
||||
Reference in New Issue
Block a user