mirror of https://github.com/golang/go.git
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> |
||
|---|---|---|
| .. | ||
| a | ||
| b | ||
| broken | ||
| infer_generics | ||