File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
lib/AST/RequirementMachine Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -556,8 +556,11 @@ void RequirementMachine::dump(llvm::raw_ostream &out) const {
556
556
out << " ]" ;
557
557
} else {
558
558
out << " fresh signature <" ;
559
- for (auto paramTy : Params)
560
- out << " " << Type (paramTy);
559
+ for (auto paramTy : Params) {
560
+ out << " " << paramTy;
561
+ if (paramTy->castTo <GenericTypeParamType>()->isTypeSequence ())
562
+ out << " …" ;
563
+ }
561
564
out << " >" ;
562
565
}
563
566
out << " \n " ;
Original file line number Diff line number Diff line change @@ -675,9 +675,15 @@ void Symbol::dump(llvm::raw_ostream &out) const {
675
675
return ;
676
676
}
677
677
678
- case Kind::GenericParam:
679
- out << Type (getGenericParam ());
678
+ case Kind::GenericParam: {
679
+ auto *gp = getGenericParam ();
680
+ if (gp->isTypeSequence ()) {
681
+ out << " (" << Type (gp) << " …)" ;
682
+ } else {
683
+ out << Type (gp);
684
+ }
680
685
return ;
686
+ }
681
687
682
688
case Kind::Layout:
683
689
out << " [layout: " ;
You can’t perform that action at this time.
0 commit comments