Skip to content

Commit 1b94bbd

Browse files
committed
whopps
1 parent 137a057 commit 1b94bbd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

crates/ty_python_semantic/src/types/constraints.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ impl<'db> ConstraintSet<'db> {
326326
}
327327

328328
pub(crate) fn display(self, db: &'db dyn Db) -> impl Display {
329-
self.node.simplify(db).display(db)
329+
self.node.simplify_for_display(db).display(db)
330330
}
331331
}
332332

@@ -2346,6 +2346,9 @@ impl<'db> SequentMap<'db> {
23462346
}
23472347
}
23482348

2349+
if first {
2350+
f.write_str("[no sequents]")?;
2351+
}
23492352
Ok(())
23502353
}
23512354
}

0 commit comments

Comments
 (0)