Skip to content

Commit 7ea4e43

Browse files
authored
Merge pull request #60039 from amritpan/improve-type-variable-printing-edit
[ConstraintSystem] Edit Type Variable printing.
2 parents dceed56 + f720a90 commit 7ea4e43

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/Sema/TypeCheckConstraints.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ using namespace constraints;
5454
#pragma mark Type variable implementation
5555

5656
void TypeVariableType::Implementation::print(llvm::raw_ostream &OS) {
57-
getTypeVariable()->print(OS, PrintOptions());
57+
PrintOptions PO;
58+
PO.PrintTypesForDebugging = true;
59+
getTypeVariable()->print(OS, PO);
5860

5961
SmallVector<TypeVariableOptions, 4> bindingOptions;
6062
if (canBindToLValue())

0 commit comments

Comments
 (0)