We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81027cf commit 366f741Copy full SHA for 366f741
lib/AST/ASTPrinter.cpp
@@ -7546,11 +7546,13 @@ class TypePrinter : public TypeVisitor<TypePrinter> {
7546
7547
GenericSignature sig = substitutions.getGenericSignature();
7548
7549
+ // The substituted signature is printed without inverse requirement
7550
+ // desugaring, but also we drop conformances to Copyable and Escapable
7551
+ // when constructing it.
7552
sub->Printer << "@substituted ";
7553
sub->printGenericSignature(sig,
7554
PrintAST::PrintParams |
- PrintAST::PrintRequirements |
- PrintAST::PrintInverseRequirements);
7555
+ PrintAST::PrintRequirements);
7556
sub->Printer << " ";
7557
}
7558
0 commit comments