Skip to content

Commit 14cfe02

Browse files
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 550046b commit 14cfe02

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pyrefly/lib/alt/class/pydantic.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,9 +556,6 @@ impl<'a, Ans: LookupAnswer> AnswersSolver<'a, Ans> {
556556
else {
557557
return;
558558
};
559-
if constraints.is_empty() {
560-
return;
561-
}
562559

563560
let infer_errors = self.error_swallower();
564561
let mut positional_index = 0;

0 commit comments

Comments
 (0)