mypy complaining that class annotated with @dataclass(slots=True)
has no attribute __slots__
#15647
Labels
@dataclass(slots=True)
has no attribute __slots__
#15647
Bug Report
mypy complaining that class annotated with
@dataclass(slots=True)
has no attribute__slots__
To Reproduce
Expected Behavior
No error should be produced
Actual Behavior
Running
python test.py
producesRunning
mypy test.py
producesYour Environment
1.4.1
mypy.ini
(and other config files):3.11.1
The text was updated successfully, but these errors were encountered: