[FIR] Fix handling of scope emptiness in case of synthetic properties

This commit is contained in:
Mikhail Glukhikh
2020-02-06 13:02:45 +03:00
parent c8c0ba480b
commit 9f9d53cc5a
@@ -117,6 +117,7 @@ class MemberScopeTowerLevel(
val withSynthetic = FirSyntheticPropertiesScope(session, scope)
withSynthetic.processScopeMembers { symbol ->
empty = false
output.consumeCandidate(symbol, NotNullableReceiverValue(dispatchReceiver), extensionReceiver as? ImplicitReceiverValue<*>)
}
return if (empty) ProcessorAction.NONE else ProcessorAction.NEXT