mirror of https://github.com/golang/go.git
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> |
||
|---|---|---|
| .. | ||
| analysisinternal | ||
| apidiff | ||
| event | ||
| fakenet | ||
| fastwalk | ||
| gocommand | ||
| gopathwalk | ||
| imports | ||
| jsonrpc2 | ||
| jsonrpc2_v2 | ||
| lsp | ||
| memoize | ||
| packagesinternal | ||
| proxydir | ||
| span | ||
| stack | ||
| testenv | ||
| tool | ||
| typeparams | ||
| typesinternal | ||
| xcontext | ||