go/internal/lsp/testdata/stub
Marwan Sulaiman 13bcb69cfa internal/lsp/analysis/stubmethods: recognize *ast.CallExpr
This change makes it so that the stub methods analysis can recognize
errors happening to method and function call expressions that are being
passed a concrete type to an interface parameter. This way, a method stub CodeAction will appear at the call site.

Updates golang/go#37537

Change-Id: I886d53f06a85b9e5160d882aa742bb2b7fcea139
Reviewed-on: https://go-review.googlesource.com/c/tools/+/404655
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
2022-05-17 17:04:34 +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_call_expr.go internal/lsp/analysis/stubmethods: recognize *ast.CallExpr 2022-05-17 17:04:34 +00:00
stub_call_expr.go.golden internal/lsp/analysis/stubmethods: recognize *ast.CallExpr 2022-05-17 17:04: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 tools: fix some typos 2022-03-24 22:24:35 +00:00
stub_ignored_imports.go.golden tools: fix some typos 2022-03-24 22:24:35 +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