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 791b81f commit 937600cCopy full SHA for 937600c
lib/AST/UnqualifiedLookup.cpp
@@ -669,7 +669,7 @@ void UnqualifiedLookupFactory::finishLookingInContext(
669
// When a generic has the same name as a member, Swift prioritizes the generic
670
// because the member could still be named by qualifying it. But there is no
671
// corresponding way to qualify a generic parameter.
672
- // So, look for genrics first.
+ // So, look for generics first.
673
if (addGenericParameters == AddGenericParameters::Yes)
674
addGenericParametersHereAndInEnclosingScopes(lookupContextForThisContext);
675
0 commit comments