ruff
a2a7b1e2 - [red-knot] Do not assume that `x != 0` if `x` inhabits `~Literal[0]` (#17370)

Commit
158 days ago
[red-knot] Do not assume that `x != 0` if `x` inhabits `~Literal[0]` (#17370) ## Summary Fixes incorrect negated type eq and ne assertions in infer_binary_intersection_type_comparison fixes #17360 ## Test Plan Remove and update some now incorrect tests
Author
Parents
Loading