-
Notifications
You must be signed in to change notification settings - Fork 172
Closed
Labels
Description
Describe the Bug
Enums support mixing in a data type by inheriting from it, e.g.:
from enum import Enum
from typing import reveal_type
class A(float, Enum):
X = 1
reveal_type(A.X.value) # runtime says `float`, pyrefly says `int`
Sandbox Link
(Only applicable for extension issues) IDE Information
No response