ruff
d29d4956 - [red-knot] Fix callable subtyping for standard parameters (#17125)

Commit
303 days ago
[red-knot] Fix callable subtyping for standard parameters (#17125) ## Summary This PR fixes a bug in callable subtyping to consider both the positional and keyword form of the standard parameter in the supertype when matching against variadic, keyword-only and keyword-variadic parameter in the subtype. This is done by collecting the unmatched standard parameters and then checking them against the keyword-only / keyword-variadic parameters after the positional loop. ## Test Plan Add test cases.
Author
Parents
Loading