mypy
Allow None vs TypeVar overlap for overloads
#15846
Merged

Allow None vs TypeVar overlap for overloads #15846

ilevkivskyi
Allow None vs TypeVar overlap for overloads
11c082e6
github-actions
Fix typo
494016a6
ilevkivskyi ilevkivskyi requested a review from JelleZijlstra JelleZijlstra 2 years ago
ilevkivskyi ilevkivskyi requested a review from hauntsaninja hauntsaninja 2 years ago
ilevkivskyi ilevkivskyi requested a review from JukkaL JukkaL 2 years ago
github-actions
JukkaL
JukkaL approved these changes on 2023-08-11
Add heuristic to enforce union math for None vs TypeVar overlap
05eb6ff2
Awoid spurious errors
f4e78eaf
AlexWaygood
AlexWaygood commented on 2023-08-11
ilevkivskyi Update mypy/checkexpr.py
123fea47
github-actions
Fix crash on non-matching overload
76ec63f5
github-actions
ilevkivskyi
ilevkivskyi
ilevkivskyi ilevkivskyi merged 854a9f8f into master 2 years ago
ilevkivskyi ilevkivskyi deleted the allow-none-typevar-overlap branch 2 years ago
Asaurus1

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone