1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:14:43 -07:00
go/internal/lsp/testdata/godef/a
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
..
a.go internal/lsp: fix links for interface methods 2019-12-17 19:37:44 +00:00
a.go.golden internal/lsp: fix links for interface methods 2019-12-17 19:37:44 +00:00
d.go internal/lsp: fix link anchors for struct fields 2019-12-17 02:48:38 +00:00
d.go.golden internal/lsp: improve link in documentation on hover 2019-12-12 22:39:21 +00:00
f.go internal/lsp: fix references for type switch vars 2019-06-19 18:18:01 +00:00
f.go.golden internal/lsp: improve link in documentation on hover 2019-12-12 22:39:21 +00:00
random.go internal/lsp: add definition tests from godef 2018-11-19 18:17:22 +00:00
random.go.golden internal/lsp: improve link in documentation on hover 2019-12-12 22:39:21 +00:00