Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
InSyncWithFoo committed Jan 8, 2025
1 parent 7bb9545 commit f3932bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/red_knot_python_semantic/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ impl<'db> Type<'db> {
let equivalent =
|(first, second): (&Type<'db>, &Type<'db>)| first.is_gradual_equivalent_to(db, *second);

if self == other {
if self == other && !matches!(self, Type::Todo(_)) {
return true;
}

Expand Down

0 comments on commit f3932bf

Please sign in to comment.