microsoft / pyright

Static Type Checker for Python
Other
13.32k stars 1.45k forks source link

Fixed a bug that results in false negatives for errors in argument ex… #8809

Closed erictraut closed 2 months ago

erictraut commented 2 months ago

…pressions used in a call to functools.partial in some cases. This same issue also causes symbols accessed in these arg expressions to not be marked as referenced. This addresses #8807.

github-actions[bot] commented 2 months ago

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅