Set member scope for builder inference stub types equivalent to Any

This commit is contained in:
Victor Petukhov
2021-05-11 17:17:19 +03:00
parent 6356b9d501
commit afbda75581
2 changed files with 3 additions and 1 deletions
@@ -92,7 +92,7 @@ internal class MemberScopeTowerLevel(
): Collection<CandidateWithBoundDispatchReceiver> {
val receiverValue = dispatchReceiver.receiverValue
if (receiverValue.type is StubType) {
if (receiverValue.type is AbstractStubType && receiverValue.type.memberScope is ErrorUtils.ErrorScope) {
return arrayListOf()
}