mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 13:30:49 -05:00
## Summary Fixes https://github.com/astral-sh/ty/issues/2292 When solving a bounded typevar, we preferred the upper bound over the actual type seen in the call. This change fixes that. ## Test Plan Added mdtest, existing tests pass.
Markdown files within the mdtest/ subdirectory are tests of type inference and type checking;
executed by the tests/mdtest.rs integration test.
See crates/ty_test/README.md for documentation of this test format.