mirror of https://github.com/golang/go.git
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> |
||
|---|---|---|
| .. | ||
| call_hierarchy.go | ||
| check.go | ||
| cmdtest.go | ||
| definition.go | ||
| folding_range.go | ||
| format.go | ||
| highlight.go | ||
| implementation.go | ||
| imports.go | ||
| links.go | ||
| prepare_rename.go | ||
| references.go | ||
| rename.go | ||
| semanticdriver.go | ||
| signature.go | ||
| suggested_fix.go | ||
| symbols.go | ||
| workspace_symbol.go | ||