-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow-up: check for invalid
*
unpacking types earlier in parameter…
…-argument matching Summary: Moves error checking earlier for `*` unpacking, so that calling a function with `*non_iterable_type` always generates an error. Removes a now-redundant error check in `check_arguments_against_parameters`. Reviewed By: yangdanny97 Differential Revision: D61365270 fbshipit-source-id: 60c5b932c59dddae269e257209aeb7e59ae91104
- Loading branch information
1 parent
f61d6ae
commit 1dd48b9
Showing
2 changed files
with
87 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters