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
{{ message }}
Repository navigation
Generic propagation into dataclasses doesn't seem to work consistently #9585
:; pipenv run mypy /tmp/footest.py
/tmp/footest.py:17: note: Revealed type is 'builtins.dict[Any, footest.FloatValue*]'
/tmp/footest.py:18: note: Revealed type is 'def (self: footest.ValueByKey[footest.FloatValue*], values: builtins.dict[Any, footest.FloatValue*])'
Actual Behavior
:; pipenv run mypy --version
mypy 0.790
:; pipenv run mypy /tmp/footest.py
/tmp/footest.py:17: note: Revealed type is 'builtins.dict[Any, footest.FloatValue*]'
/tmp/footest.py:18: note: Revealed type is 'def (self: footest.ValueByKey[T`1], values: builtins.dict[Any, T`1])'
Your Environment
Mypy version used: 0.790
Mypy command-line flags: see above
Mypy configuration options from mypy.ini (and other config files): none
Activity
Use checkmember.py to check protocol subtyping (python#18943)
Use checkmember.py to check protocol subtyping (python#18943)