mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ConstraintSystem] NFC: Fix type variable printing in connected compoents and constraint system state
This commit is contained in:
@@ -1403,8 +1403,11 @@ void ConstraintGraphNode::dump() const {
|
||||
|
||||
void ConstraintGraph::print(ArrayRef<TypeVariableType *> typeVars,
|
||||
llvm::raw_ostream &out) {
|
||||
PrintOptions PO;
|
||||
PO.PrintTypesForDebugging = true;
|
||||
|
||||
for (auto typeVar : typeVars) {
|
||||
(*this)[typeVar].print(out, 2);
|
||||
(*this)[typeVar].print(out, 2, PO);
|
||||
out << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user