1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:14:43 -07:00
go/internal/lsp/testdata/godef/b
Rebecca Stambler 38570b7665 internal/lsp: fix links for interface methods
This change handles fixes the link behavior for interface methods.
For example, before this change, hovering on "Name"  would point to an
incorrect link: https://pkg.go.dev/go/types?tab=doc#object.Name.
The correct link is
https://pkg.go.dev/go/types?tab=doc#TypeName.Name.

var typ *types.Named
typ.Obj().Name()

Change-Id: If28bff6069239d487e5d86cacafc20800493ebe8
Reviewed-on: https://go-review.googlesource.com/c/tools/+/211585
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2019-12-17 19:37:44 +00:00
..
b.go internal/lsp: fix and re-enable godef tests 2019-11-20 21:51:18 +00:00
b.go.golden internal/lsp: fix links for interface methods 2019-12-17 19:37:44 +00:00
c.go internal/lsp: add definition tests from godef 2018-11-19 18:17:22 +00:00
c.go.golden internal/lsp: fix link anchors for struct fields 2019-12-17 02:48:38 +00:00
c.go.saved internal/lsp: add definition tests from godef 2018-11-19 18:17:22 +00:00
e.go internal/lsp: fix definition tests to use golden files 2019-05-10 21:06:55 +00:00
e.go.golden internal/lsp: improve link in documentation on hover 2019-12-12 22:39:21 +00:00