You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
visit_callable_type in mypy/constraints.py should look at argument kinds and use them to match arguments. Currently it assumes that the kinds of arguments are the same in both callables.
We may be able to reuse or adapt similar code from call expression type checker (map_actuals_to_formals).
visit_callable_type
inmypy/constraints.py
should look at argument kinds and use them to match arguments. Currently it assumes that the kinds of arguments are the same in both callables.We may be able to reuse or adapt similar code from call expression type checker (
map_actuals_to_formals
).See also discussion in #1085.
The text was updated successfully, but these errors were encountered: