x/tools/gopls: organizeImports code action failing with latest LSP stubs #55080
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
With https://go.dev/cl/424214 (updating LSP stubs), I'm experiencing failures of the organizeImports code action in gopls.
In coc.nvim, this is the error I get:
I noticed this due to the build breakage in https://go.dev/cl/424075 (I am somewhat ashamed to say I didn't build before mailing...).
Looking at the logs, here is the new response:
Compare with the old response:
Note that the "disabled" key is now set. Presumably our testing frameworks ignore this, hence why tests continue to pass.
We should fix our fake editor to honor "disabled", and fix the JSON serialization.
CC @pjweinb @hyangah @dle8 @adonovan (for awareness)
The text was updated successfully, but these errors were encountered: