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 2c273c4 commit 3a6a2b5Copy full SHA for 3a6a2b5
lib/AST/ASTPrinter.cpp
@@ -6307,10 +6307,14 @@ void Requirement::dump(raw_ostream &out) const {
6307
break;
6308
}
6309
6310
- if (getFirstType())
6311
- out << getFirstType() << " ";
+ PrintOptions opts;
+ opts.ProtocolQualifiedDependentMemberTypes = true;
6312
+
6313
+ getFirstType().print(out, opts);
6314
+ out << " ";
6315
6316
if (getKind() != RequirementKind::Layout && getSecondType())
- out << getSecondType();
6317
+ getSecondType().print(out, opts);
6318
else if (getLayoutConstraint())
6319
out << getLayoutConstraint();
6320
0 commit comments