x/tools/gopls: doesn't seem to vet text output formatting errors in non-core packages #34059
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
This may be related to #33085, but #33085 and its discussion seem to be focused on circular dependencies.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
I don't know - I believe gopls is latest.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Using VS-Code, with language server (gopls) enabled, write a small program such as the following and save it:
What did you expect to see?
A warning "Wrapf format %s has arg 5 of wrong type int"
What did you see instead?
Gopls trace:
(this trace is generated when deleting a space that had intentionally created a syntax error, thereby making the code syntax-error-free, but with this formatting error)
Trace
The text was updated successfully, but these errors were encountered: