go/internal/lsp/analysis
Marwan Sulaiman 3ce772872c internal/lsp/source: support stubbing concrete type params
This CL adds support for generating method stubs for named types
that have type parameters and want to implement an interface.
See internal/lsp/testdata/stub/stub_generic_receiver.go for an example.
Note, this CL does not yet support type params on interface declarations.

Updates golang/go#37537

Change-Id: I2a2a18d364b2b489e2fbd8a74dfed88ae32d83b5
Reviewed-on: https://go-review.googlesource.com/c/tools/+/389654
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Trust: Suzy Mueller <suzmue@golang.org>
2022-03-03 22:52:16 +00:00
..
fillreturns internal/lsp/analysis/fillreturns: update fillreturns for new type errs 2021-12-03 18:55:02 +00:00
fillstruct internal/lsp: disable fillstruct for type params 2021-10-15 14:09:01 +00:00
infertypeargs internal/typeparams: simplify the IndexExpr API 2022-01-19 20:29:28 +00:00
nonewvars internal/lsp/analysis: add typeparams tests for nonewvars and noresultvalues 2021-10-13 04:56:02 +00:00
noresultvalues internal/lsp/analysis/noresultvalues: update for CL 379116 error message change 2022-01-18 21:28:05 +00:00
simplifycompositelit gopls: fix various staticcheck errors 2020-09-29 17:30:36 +00:00
simplifyrange internal/lsp: make sure that `gofmt -s` analyses don't modify AST 2020-04-06 21:01:14 +00:00
simplifyslice internal/lsp: add parameterized slice test for simplifyslice analysis 2021-10-01 15:56:03 +00:00
stubmethods internal/lsp/source: support stubbing concrete type params 2022-03-03 22:52:16 +00:00
undeclaredname internal/lsp/analysis/undeclaredname: suppress impossible quick fixes 2022-02-09 19:35:26 +00:00
unusedparams internal/lsp: add suggested fix for unusedparams analysis 2022-01-14 17:47:02 +00:00
useany internal/lsp/analysis: add a useany analyzer 2021-09-22 22:01:06 +00:00