Plumb the "Is Type Sequence" Bit Through the Surface AST

This commit is contained in:
Robert Widmann
2021-11-04 16:48:08 -07:00
parent efb3a49fdd
commit 22405cefea
36 changed files with 261 additions and 175 deletions

View File

@@ -467,11 +467,9 @@ computeDesignatedInitOverrideSignature(ASTContext &ctx,
depth = genericSig.getGenericParams().back()->getDepth() + 1;
for (auto *param : genericParams->getParams()) {
auto *newParam = new (ctx) GenericTypeParamDecl(classDecl,
param->getName(),
SourceLoc(),
depth,
param->getIndex());
auto *newParam = new (ctx) GenericTypeParamDecl(
classDecl, param->getName(), SourceLoc(), param->isTypeSequence(),
depth, param->getIndex());
newParams.push_back(newParam);
}