Skip to content

hover on case _ show the remaining cases #3334

Description

@asukaminato0721

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

Metadata

Metadata

Labels

language-serverIssues specific to our IDE integration rather than type checking
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions