Skip to content

Method goto-reference fails in some cases #170

@JonatanWaern

Description

@JonatanWaern

Minimal reproducer:

template example {
    shared method s();
    method s() default {}

    method regular() {
        s();
    }
}
is example;

Here, goto-def on 's()' should go to the default declaration, but instead finds no definition. Goto-decl on 's()' and on the default declaration works as expected, goto-ref on on shared or default declarations work as expected. Goto-def on the shared declaration also fails.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions