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.