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
The way mypy does type inference breaks calling a generic function on the right side of set.__and__, because it takes an argument of type AbstractSet[object]. It seems like it is propagating 'object' instead of the more specific type and then complaining when that does not work.
I reported this as a comment on #5738, but this is apparently a different issue because this problem was not fixed when that issue was closed.
Bug Report
The way mypy does type inference breaks calling a generic function on the right side of
set.__and__
, because it takes an argument of typeAbstractSet[object]
. It seems like it is propagating 'object' instead of the more specific type and then complaining when that does not work.I reported this as a comment on #5738, but this is apparently a different issue because this problem was not fixed when that issue was closed.
To Reproduce
Actual Behavior
Your Environment
The text was updated successfully, but these errors were encountered: