We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2baeb3d commit 88b84c2Copy full SHA for 88b84c2
lib/Sema/CSDiagnostics.cpp
@@ -1626,8 +1626,7 @@ bool AssignmentFailure::diagnoseAsError() {
1626
if (auto typeContext = DC->getInnermostTypeContext()) {
1627
SmallVector<ValueDecl *, 2> results;
1628
DC->lookupQualified(typeContext->getSelfNominalTypeDecl(),
1629
- VD->getFullName(),
1630
- NL_QualifiedDefault | NL_RemoveNonVisible, results);
+ VD->getFullName(), NL_QualifiedDefault, results);
1631
1632
auto foundProperty = llvm::find_if(results, [&](ValueDecl *decl) {
1633
// We're looking for a settable property that is the same type as the
0 commit comments