x/tools/gopls: fail early in completion when possible #38868
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
I just noticed that
ErrIsDefinition
is returned for completions on L568 ofinternal/lsp/source/completion.go
. This is pretty deep into the completion logic for something that we should be able to detect and return as an error right away.The text was updated successfully, but these errors were encountered: