Describe the Bug
from enum import StrEnum
class E(StrEnum):
x = "1"
y = "2"
def foo(x: E):
match x:
case E.x:
...
case _:
...
hover on _ show match E.y
Same as subclass case, I guess.
Sandbox Link
No response
(Only applicable for extension issues) IDE Information
No response
Describe the Bug
hover on
_show matchE.ySame as subclass case, I guess.
Sandbox Link
No response
(Only applicable for extension issues) IDE Information
No response