Dataclass classmethods don't work #5974
Labels
false-positive
mypy gave an error on correct code
priority-1-normal
topic-plugins
The plugin API and ideas for new plugins
On master and 0.630, the following code fails with
error: Incompatible return value type (got "Foo", expected "T")
:If I remove the dataclass annotation, it works fine.
The text was updated successfully, but these errors were encountered: