x/tools/gopls: nil pointer deference in semanticTokensRange when viewing git diff #41873
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
ATTENTION: Please answer these questions BEFORE submitting your issue. Thanks!
What did you do?
Opened up VS Code's git diff viewer. I also run the nightly extension (which IIRC now includes semantic tokens support via an updated LSP client).
What did you expect to see?
No crash.
What did you see instead?
The server crashes with the diff open.
Logs: https://gist.github.com/zikaeroh/96741da55aad5964576e0aba864cbeb3
Build info
The text was updated successfully, but these errors were encountered: