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
There are no tests for `@enum.member` used as a decorator, because I can
only decorate classes and functions, which are not supported right now:
https://mypy-play.net/?mypy=latest&python=3.12&gist=449ee8c12eba9f807cfc7832f1ea2c49
```python
import enum
class A(enum.Enum):
class x: ...
reveal_type(A.x) # Revealed type is "def () -> __main__.A.x"
```
This issue is separate and rather complex, so I would prefer to solve it
independently.
Refs #17376
---------
Co-authored-by: Alex Waygood <[email protected]>
0 commit comments