ruff/crates/red_knot_python_semantic/resources/mdtest/comparison
cake-monotone fb66f715f3
[red-knot] Enhancing Diagnostics for Compare Expression Inference (#13819)
## Summary

- Refactored comparison type inference functions in `infer.rs`: Changed
the return type from `Option` to `Result` to lay the groundwork for
providing more detailed diagnostics.
- Updated diagnostic messages.

This is a small step toward improving diagnostics in the future.

Please refer to #13787

## Test Plan

mdtest included!

---------

Co-authored-by: Carl Meyer <carl@astral.sh>
2024-10-19 18:17:01 +00:00
..
byte_literals.md [red-knot] mdtest suite: formatting and cleanup (#13806) 2024-10-18 11:07:53 +02:00
integers.md [red-knot] Autoformat `mdtest` Python snippets using `blacken-docs` (#13809) 2024-10-19 15:57:06 +01:00
non_boolean_returns.md [red-knot] Autoformat `mdtest` Python snippets using `blacken-docs` (#13809) 2024-10-19 15:57:06 +01:00
strings.md [red-knot] Autoformat `mdtest` Python snippets using `blacken-docs` (#13809) 2024-10-19 15:57:06 +01:00
tuples.md [red-knot] Autoformat `mdtest` Python snippets using `blacken-docs` (#13809) 2024-10-19 15:57:06 +01:00
unions.md [red-knot] mdtest suite: formatting and cleanup (#13806) 2024-10-18 11:07:53 +02:00
unsupported.md [red-knot] Enhancing Diagnostics for Compare Expression Inference (#13819) 2024-10-19 18:17:01 +00:00