x/tools/gopls: editing a file with a path that does not exist on disk crashes with Sublime Text #41779
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
What did you do?
Edit a file that does not exist on disk.
Sublime Text has persistent state even for files that are not stored as normal files on the file system. This clearly confuses gopls.
This can be recreated by opening a new file, editing and then deleting it on disk, then editing the open non-existent file.
What did you expect to see?
No crash.
What did you see instead?
A crash.
Build info
The text was updated successfully, but these errors were encountered: