go/internal/lsp/testdata
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
..
%percent
addimport internal/lsp: add list_known_packages and add_import commands 2021-05-23 03:57:00 +00:00
address lsp/completion: reorganize how we track candidate type mods 2021-06-09 15:58:13 +00:00
analyzer tools: make printf analysis have more helpful output 2021-05-21 23:19:31 +00:00
anon
append lsp/completion: reorganize how we track candidate type mods 2021-06-09 15:58:13 +00:00
arraytype lsp/completion: offer candidates converting arrays to slices 2021-04-22 04:15:51 +00:00
assign internal/lsp/source: omit assign stmt LHS in RHS completion 2020-12-07 20:43:33 +00:00
bad internal/typesinternal: use Go 1.16 metadata for go/types errors 2020-12-07 17:42:14 +00:00
badstmt
bar
basiclit internal/lsp: add support for hovering runes 2021-09-14 22:22:34 +00:00
baz
builtins internal/lsp/completion: fix untyped int type inference 2021-02-05 20:20:24 +00:00
callhierarchy internal/lsp: include function literals in outgoing call hierarchy 2021-06-01 22:58:04 +00:00
casesensitive
cast
cgo internal/lsp: add support for hovering runes 2021-09-14 22:22:34 +00:00
cgoimport internal/lsp: add support for hovering runes 2021-09-14 22:22:34 +00:00
channel
codelens
comment_completion
complit lsp/completion: reorganize how we track candidate type mods 2021-06-09 15:58:13 +00:00
constant
danglingstmt
deep lsp/completion: reorganize how we track candidate type mods 2021-06-09 15:58:13 +00:00
errors
extract internal/lsp: adjust extract function range if block statement 2021-10-22 02:18:41 +00:00
fieldlist
fillstruct internal/lsp: fix fillstruct for structs with unsafe.Pointer 2022-05-05 17:08:12 +00:00
folding internal/lsp: foldable multiline strings 2022-01-04 20:54:25 +00:00
foo
format
func_rank internal/lsp/source: descend into fields and field lists in qualifyExpr 2022-03-25 15:26:50 +00:00
funcsig
funcvalue
fuzzymatch
generate
generated
godef internal/lsp/source: include builtin name in hovered signature 2022-03-24 20:26:13 +00:00
good internal/lsp/source: make it an error to rename embedded fields 2021-01-26 13:52:46 +00:00
highlights
implementation
importedcomplit
imports
index internal/lsp/completion: fix untyped int type inference 2021-02-05 20:20:24 +00:00
interfacerank
keywords internal/lsp: fix some incorrect spelling 2020-11-24 11:59:21 +00:00
labels
links
maps lsp/completion: reorganize how we track candidate type mods 2021-06-09 15:58:13 +00:00
missingfunction internal/lsp/analysis: move implementmissing logic into undeclared 2021-09-28 22:17:57 +00:00
multireturn lsp/completion: fix variadic param candidate ordering edge case 2021-06-01 17:02:03 +00:00
nested_complit
nodisk
noparse
noparse_format
printf
rank lsp/completion: reorganize how we track candidate type mods 2021-06-09 15:58:13 +00:00
references internal/lsp: find references for ident before selector 2021-08-02 19:06:04 +00:00
rename internal/lsp/source: move doc links to the bottom of hover 2022-03-18 13:39:41 +00:00
selector
semantic internal/lsp: add semantic tokens for arrows in declarations 2022-04-07 14:52:22 +00:00
signature internal/lsp/source: move doc links to the bottom of hover 2022-03-18 13:39:41 +00:00
snippets internal/lsp: add snippet completion for function type parameters 2022-03-09 15:55:38 +00:00
statements internal/lsp: add snippet completion for t.Fatal errs 2021-03-15 21:39:02 +00:00
stub internal/lsp/analysis/stubmethods: recognize *ast.CallExpr 2022-05-17 17:04:34 +00:00
suggestedfix
symbols
testy
typdef internal/lsp/source: support typeDefinition for function/method's return values 2021-05-06 03:15:21 +00:00
typeassert lsp/completion: reorganize how we track candidate type mods 2021-06-09 15:58:13 +00:00
typeerrors
typemods lsp/completion: support completing to Elem() types 2021-06-09 15:58:30 +00:00
typeparams lsp/completion: fix func literals with type params 2022-04-26 14:19:52 +00:00
types
undeclared
unimported
unresolved
unsafe internal/lsp: update unsafe completion test for upcoming spec changes 2021-04-22 02:57:26 +00:00
variadic
workspacesymbol internal/lsp: precompute workspace symbols 2021-08-09 20:20:17 +00:00
summary.txt.golden internal/lsp/analysis/stubmethods: recognize *ast.CallExpr 2022-05-17 17:04:34 +00:00
summary_go1.18.txt.golden internal/lsp/analysis/stubmethods: recognize *ast.CallExpr 2022-05-17 17:04:34 +00:00