go/internal/lsp/testdata/godef/b
Rob Findley 4c651fc1fc internal/lsp/source: add inferred types to generic function hover
As an experiment, this CL introduces the first gopls feature that is
specific to generics: enriching function hover information with inferred
types. This is done with no additional gating on build constraints by
using the new internal/typeparams package.

The marker tests are updated to allow tests that rely on type parameters
being enabled.

Change-Id: Ic627d64b61a6211389196814edd0abe1484491eb
Reviewed-on: https://go-review.googlesource.com/c/tools/+/317452
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2021-06-22 16:07:17 +00:00
..
b.go internal/lsp: fix godef for embedded type aliases 2020-11-23 15:59:28 +00:00
b.go.golden internal/lsp/source: update process of hover signature creation for type declarations 2021-04-14 19:20:17 +00:00
c.go internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
c.go.golden internal/lsp: fix godef for embedded type aliases 2020-11-23 15:59:28 +00:00
c.go.saved internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
e.go internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
e.go.golden internal/lsp: add ?utm_source=gopls to links to pkg.go.dev 2020-11-16 00:15:58 +00:00
h.go internal/lsp/source: fix hover and completion with dot imports 2021-03-25 00:32:48 +00:00
h.go.golden internal/lsp/source: add inferred types to generic function hover 2021-06-22 16:07:17 +00:00