Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Goto definition does not work on pattern binding #164

Open
mkaput opened this issue Jan 13, 2025 · 1 comment
Open

Goto definition does not work on pattern binding #164

mkaput opened this issue Jan 13, 2025 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@mkaput
Copy link
Member

mkaput commented Jan 13, 2025

Repro:

fn foo() {
    let foo<caret>bar = 123;
}
enum Foo {
    Bar,
}

fn foo() {
    let x = Foo::Bar;
    match x {
        Foo::Ba<caret>r => {},
    }
}

does not go to to this symbol.

@mkaput mkaput added this to the Goto milestone Jan 13, 2025
@mkaput mkaput moved this to Triage in CairoLS Jan 13, 2025
@mkaput mkaput added this to CairoLS Jan 13, 2025
@mkaput mkaput moved this from Triage to Backlog in CairoLS Jan 13, 2025
@mkaput mkaput added the bug Something isn't working label Jan 13, 2025
@mkaput mkaput moved this from Backlog to Todo in CairoLS Jan 13, 2025
@mkaput mkaput moved this from Todo to Backlog in CairoLS Jan 13, 2025
@mkaput mkaput moved this from Backlog to Todo in CairoLS Jan 13, 2025
@mkaput mkaput self-assigned this Jan 13, 2025
@mkaput mkaput moved this from Todo to In Progress in CairoLS Jan 16, 2025
@piotmag769
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

2 participants