mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Plumb the "Is Type Sequence" Bit Through the Surface AST
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user