x/tools/cmd/gopls: GoToDef does not work with embedded pointer structs #31451
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Suggested
Issues that may be good for new contributors looking for work to do.
Milestone
Say you have a struct that looks like this:
If you tried to GoToDef on the embedded struct
*A
insideB
, then the GoToDef does not work. But if you remove the*
, then GoToDef works properly by moving the cursor to the A declarationcc: @ianthehat
The text was updated successfully, but these errors were encountered: