dataclass(frozen=True)
not working with default Final
qualifier
#18567
Labels
dataclass(frozen=True)
not working with default Final
qualifier
#18567
Bug Report
When using
Final
type hint in combination withdataclass(frozen=True)
,mypy
displays an error. This error disappears either iffrozen=True
is removed or the type ofFinal
is provided.To Reproduce
Your Environment
script.py
mypy.ini
(and other config files): NoneThe text was updated successfully, but these errors were encountered: