/ go Public
x/tools/gopls: 'implementations' doesn't work with generics #59224
Issues related to gopls' support for generics
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Even some of the most basic scenarios of 'implementations' are not working at all with generics, for example when the concrete and interface types are both generalized over
[T any]and are defined within the same file:
This is not a recent regression:
A similar lack of results is obtained by querying the
Pushabstract method, or the Collection interface, or the C concrete type.
(This test case was a further reduction of the one described in https://youtrack.jetbrains.com/issue/GO-12702/Go-to-Declaration-Implementation-not-available-for-generics-interfaces, referenced by golang/vscode-go#2711.)
The text was updated successfully, but these errors were encountered: