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(
1679
1679
llvm::interleave (
1680
1680
genericParams,
1681
1681
[&](GenericTypeParamType *param) {
1682
+ if (param->isTypeSequence ())
1683
+ Printer.printAttrName (" @_typeSequence " );
1684
+
1682
1685
if (!subMap.empty ()) {
1683
1686
printType (substParam (param));
1684
1687
} else if (auto *GP = param->getDecl ()) {
@@ -3473,6 +3476,8 @@ void PrintAST::visitTypeAliasDecl(TypeAliasDecl *decl) {
3473
3476
3474
3477
void PrintAST::visitGenericTypeParamDecl (GenericTypeParamDecl *decl) {
3475
3478
recordDeclLoc (decl, [&] {
3479
+ if (decl->isTypeSequence ())
3480
+ Printer.printAttrName (" @_typeSequence " );
3476
3481
Printer.printName (decl->getName (), PrintNameContext::GenericParameter);
3477
3482
});
3478
3483
You can’t perform that action at this time.
0 commit comments