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 b0869fa commit 6e18851Copy full SHA for 6e18851
lib/Sema/TypeCheckNameLookup.cpp
@@ -266,7 +266,7 @@ convertToUnqualifiedLookupOptions(NameLookupOptions options) {
266
static void synthesizeCodingKeysIfNeededForUnqualifiedLookup(ASTContext &ctx,
267
DeclContext *dc,
268
DeclNameRef name) {
269
- if (name.getBaseIdentifier() != ctx.Id_CodingKeys)
+ if (!name.isSimpleName(ctx.Id_CodingKeys))
270
return;
271
272
for (auto typeCtx = dc->getInnermostTypeContext(); typeCtx != nullptr;
0 commit comments