Closed Bug 1833073 Opened 2 years ago Closed 2 years ago

Navigation to static method of a different dependent instantiation of the same class

Categories

(Webtools :: Searchfox, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1833072

People

(Reporter: botond, Assigned: botond)

References

Details

Steps to reproduce

Have Searchfox index the following code:

template <typename>
struct Foo {
  static void StaticMethod();

  template <typename U>
  void Bar() {
    Foo<U>::StaticMethod();
  }
};

Expected results

Navigation from the call to StaticMethod() goes to the definition.

Actual results

No navigation is offered at the call.

This is going to be fixed by the same fix as bug 1833072, so I'm going to dupe it over there. I'll include this testcase in the tests added in bug 1833072.

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1833072
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.