go/internal/lsp/cmd/test
Rebecca Stambler 7898fe60e6 internal/lsp/analysis: move implementmissing logic into undeclared
I missed the TODO in undeclaredname to add support for functions, so
really this belongs in that analyzer. This removes a fair bit of code.
However, the type error analyzers don't really work with the go/analysis
testing framework because the suggested fixes are split from the
diagnostics, so I moved the tests into the gopls tests.

Change-Id: I861a7ad531d2732fe698ee0ac46f23ad53b16812
Reviewed-on: https://go-review.googlesource.com/c/tools/+/351333
Trust: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2021-09-28 22:17:57 +00:00
..
call_hierarchy.go
check.go internal/lsp: use mode (GOPATH/modules) oriented error messages 2020-12-01 06:44:07 +00:00
cmdtest.go internal/lsp: add support for hovering runes 2021-09-14 22:22:34 +00:00
definition.go internal/lsp, gopls: recover from go-diff panics 2020-12-17 16:56:54 +00:00
folding_range.go all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
format.go all: replace all usages of os/exec with golang.org/x/sys/execabs 2021-01-19 22:25:03 +00:00
highlight.go all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
implementation.go
imports.go internal/lsp, gopls: recover from go-diff panics 2020-12-17 16:56:54 +00:00
links.go
prepare_rename.go
references.go
rename.go
semanticdriver.go
signature.go
suggested_fix.go internal/lsp/analysis: move implementmissing logic into undeclared 2021-09-28 22:17:57 +00:00
symbols.go
workspace_symbol.go internal/lsp, gopls: recover from go-diff panics 2020-12-17 16:56:54 +00:00