go/internal/lsp/testdata/godef
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
..
a internal/lsp/source: add inferred types to generic function hover 2021-06-22 16:07:17 +00:00
b internal/lsp/source: add inferred types to generic function hover 2021-06-22 16:07:17 +00:00
broken internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
infer_generics internal/lsp/source: add inferred types to generic function hover 2021-06-22 16:07:17 +00:00