x/tools/gopls: source.fixAll codeaction corrupts source #45997
Labels
gopls/corruption
Issues related to file corruption in gopls
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
VSCode 1.55.2
VSCode Go 0.24.2
gopls 0.6.10 and 0.6.11-pre.1
settings.json:
main.go:
Trigger file save, and observe how the line
c1 := ...
that had multiple lint issues changed.gopls trace (gopls v0.6.11-pre.1):
The text was updated successfully, but these errors were encountered: