mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove NameLookupFlags::KnownPrivate
This commit is contained in:
@@ -3458,8 +3458,7 @@ class ObjCSelectorWalker : public ASTWalker {
|
||||
auto nominal = method->getDeclContext()->getSelfNominalTypeDecl();
|
||||
auto result = TypeChecker::lookupMember(
|
||||
const_cast<DeclContext *>(DC), nominal->getDeclaredInterfaceType(),
|
||||
DeclNameRef(lookupName),
|
||||
(defaultMemberLookupOptions | NameLookupFlags::KnownPrivate));
|
||||
DeclNameRef(lookupName), defaultMemberLookupOptions);
|
||||
|
||||
// If we didn't find multiple methods, there is no ambiguity.
|
||||
if (result.size() < 2) return false;
|
||||
|
||||
Reference in New Issue
Block a user