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
Fixes#19240Fixes#13517Fixes#17791
Existing de-duplication logic is both complicated and fragile. By
specifying a `parent_error` for a note explicitly, we can do everything
in a more robust and simple way. In addition, this new argument makes
error code matching simpler.
Bug Report
Note lines are being repeated when an error for an incompatible type is raised in certain cases.
Encountered when adding support for mypy v1.16 in typeddjango/django-stubs#2703
Bisected to #18847
To Reproduce
Expected Behavior
Actual Behavior
Note that the last four "note" lines are repeated.
Your Environment
--strict
mypy.ini
(and other config files): n/aThe text was updated successfully, but these errors were encountered: