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 0493710 commit 9d5b6d8Copy full SHA for 9d5b6d8
lib/Sema/TypeCheckDeclPrimary.cpp
@@ -478,7 +478,6 @@ static void checkGenericParams(GenericContext *ownerCtx) {
478
for (auto gp : *genericParams) {
479
// Diagnose generic types with a parameter packs if VariadicGenerics
480
// is not enabled.
481
- auto &ctx = decl->getASTContext();
482
if (gp->isParameterPack() && isGenericType) {
483
TypeChecker::checkAvailability(
484
gp->getSourceRange(),
0 commit comments