Skip to content

Commit accfb00

Browse files
stroxlermeta-codesync[bot]
authored andcommitted
Improve the Display for Variable::LoopRecursive a bit
Summary: I noticed we explicitly use `default=` for the `Quantified` case with a default; the label seems nice, I think it's good to have one for the prior type as well. Reviewed By: ndmitchell, yangdanny97 Differential Revision: D85530072 fbshipit-source-id: a498564061c1ee5c6a1da43e1d291c9c0b7a03bb
1 parent e34236b commit accfb00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrefly/lib/solver/solver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ impl Display for Variable {
9898
write!(f, "Quantified({k})")
9999
}
100100
}
101-
Variable::LoopRecursive(t) => write!(f, "LoopRecursive({t})"),
101+
Variable::LoopRecursive(t) => write!(f, "LoopRecursive(prior={t})"),
102102
Variable::Recursive => write!(f, "Recursive"),
103103
Variable::Parameter => write!(f, "Parameter"),
104104
Variable::Unwrap => write!(f, "Unwrap"),

0 commit comments

Comments
 (0)