mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Make DeclNameRef able to store a module selector
In this commit, this change affects certain diagnostics but doesn’t actually alter name lookup behavior yet.
This commit is contained in:
@@ -10278,8 +10278,8 @@ performMemberLookup(ConstraintKind constraintKind, DeclNameRef memberName,
|
||||
// high.
|
||||
if (auto *args = getArgumentList(memberLocator)) {
|
||||
SmallVector<Identifier, 4> scratch;
|
||||
memberName.getFullName() = DeclName(ctx, memberName.getBaseName(),
|
||||
args->getArgumentLabels(scratch));
|
||||
memberName = memberName.withArgumentLabels(
|
||||
ctx, args->getArgumentLabels(scratch));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user