go/internal/lsp/testdata/stub
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
..
other gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_add_selector.go gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_add_selector.go.golden gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_assign.go gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_assign.go.golden gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_assign_multivars.go gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_assign_multivars.go.golden gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_embedded.go gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_embedded.go.golden gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_err.go gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_err.go.golden gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_function_return.go gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_function_return.go.golden gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_generic_receiver.go internal/lsp/source: support stubbing concrete type params 2022-03-03 22:52:16 +00:00
stub_generic_receiver.go.golden internal/lsp/source: support stubbing concrete type params 2022-03-03 22:52:16 +00:00
stub_ignored_imports.go gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_ignored_imports.go.golden gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_multi_var.go gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_multi_var.go.golden gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_pointer.go gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_pointer.go.golden gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_renamed_import.go gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_renamed_import.go.golden gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_renamed_import_iface.go gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_renamed_import_iface.go.golden gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_stdlib.go gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00
stub_stdlib.go.golden gopls,internal/lsp: Implement method stubbing via CodeAction 2022-02-16 19:42:34 +00:00