ruff/crates/red_knot_python_semantic/resources/mdtest/diagnostics
Douglas Creager e17cd350b6
[red-knot] Support multiple overloads when binding parameters at call sites (#16568)
This updates the `Signature` and `CallBinding` machinery to support
multiple overloads for a callable. This is currently only used for
`KnownFunction`s that we special-case in our type inference code. It
does **_not_** yet update the semantic index builder to handle
`@overload` decorators and construct a multi-signature `Overloads`
instance for real Python functions.

While I was here, I updated many of the `try_call` special cases to use
signatures (possibly overloaded ones now) and `bind_call` to check
parameter lists. We still need some of the mutator methods on
`OverloadBinding` for the special cases where we need to update return
types based on some Rust code.
2025-03-11 15:08:17 -04:00
..
invalid_argument_type.md [red-knot] Better diagnostics for method calls (#16362) 2025-02-25 09:58:08 +01:00
no_matching_overload.md [red-knot] Support multiple overloads when binding parameters at call sites (#16568) 2025-03-11 15:08:17 -04:00
unpacking.md [red-knot] Fix diagnostic range for non-iterable unpacking assignments (#15994) 2025-02-06 15:36:22 +01:00
unresolved_import.md [red-knot] fix unresolvable import range (#15976) 2025-02-05 14:01:58 -05:00