tools/gopls/internal/doc
xzb e08fcf77c9 gopls/internal/analysis/undeclaredname: merge into CodeAction
This change removes the undeclaredname analyzer,
and instead computes it directly from the
protocol.QuickFix code action producer,
follow the same structure in CL 617035.

Also:
- include return types for undeclared function
- add basic return type test in missingfunction.txt,
the major functionality should be the same as
fromcall_returns.txt
- add more cases in TypesFromContext, and
corresponding tests.

Fixes golang/go#47558

Change-Id: Ic79cf2f07a3baee60631bf0b8f5c2b9f4f4393d0
GitHub-Last-Rev: 33b78d7997
GitHub-Pull-Request: golang/tools#538
Reviewed-on: https://go-review.googlesource.com/c/tools/+/623156
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Findley <rfindley@google.com>
2024-11-19 15:17:08 +00:00
..
api.go gopls/doc: delete commands.md 2024-08-01 00:23:54 +00:00
api.json gopls/internal/analysis/undeclaredname: merge into CodeAction 2024-11-19 15:17:08 +00:00