File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1679,6 +1679,9 @@ void PrintAST::printSingleDepthOfGenericSignature(
16791679 llvm::interleave (
16801680 genericParams,
16811681 [&](GenericTypeParamType *param) {
1682+ if (param->isTypeSequence ())
1683+ Printer.printAttrName (" @_typeSequence " );
1684+
16821685 if (!subMap.empty ()) {
16831686 printType (substParam (param));
16841687 } else if (auto *GP = param->getDecl ()) {
@@ -3473,6 +3476,8 @@ void PrintAST::visitTypeAliasDecl(TypeAliasDecl *decl) {
34733476
34743477void PrintAST::visitGenericTypeParamDecl (GenericTypeParamDecl *decl) {
34753478 recordDeclLoc (decl, [&] {
3479+ if (decl->isTypeSequence ())
3480+ Printer.printAttrName (" @_typeSequence " );
34763481 Printer.printName (decl->getName (), PrintNameContext::GenericParameter);
34773482 });
34783483
You can’t perform that action at this time.
0 commit comments