Files
ruff/crates/ty_python_semantic
Claude 4866f6e2ea [ty] Add priority hierarchy for intersection call errors
When all intersection elements fail a call, we now use a priority
hierarchy to determine which errors to show:

1. NotCallable (lowest) - object has no __call__ method
2. TopCallable - object is a top callable with unknown signature
3. BindingError (highest) - specific errors like invalid-argument-type

Only errors from the highest priority category are shown. This prevents
noise from less-specific errors when more informative errors are available.

For example, if an intersection has one element that fails with
invalid-argument-type and another that's not callable, we only show
the invalid-argument-type error since it's more specific and actionable.
2026-01-09 05:17:21 +00:00
..
2026-01-02 19:58:15 +00:00
2025-05-03 19:49:15 +02:00