Skip to content

Commit caf3c91

Browse files
authored
[ty] Refactor argument matching / type checking in call binding (astral-sh#18997)
This PR extracts a lot of the complex logic in the `match_parameters` and `check_types` methods of our call binding machinery into separate helper types. This is setup for astral-sh#18996, which will update this logic to handle variadic arguments. To do so, it is helpful to have the per-argument logic extracted into a method that we can call repeatedly for each _element_ of a variadic argument. This should be a pure refactoring, with no behavioral changes.
1 parent c60e590 commit caf3c91

File tree

1 file changed

+352
-193
lines changed
  • crates/ty_python_semantic/src/types/call

1 file changed

+352
-193
lines changed

0 commit comments

Comments
 (0)