x/tools/gopls: call to IsGenerated ocassionally has nil Snapshot causing panic #41778
What did you do?
This is sporadic, and I'm not entirely sure how to reliably repoduce it; my current approach to reproduction is to to open new files and make modifications. About 1/20 times, this will cause this crash.
I am using gopls with sublimelsp/LSP as recommended. ST3.
What did you expect to see?
What did you see instead?
This is a consequence of filling
Either the validity check in the generated code check loop should be for non-
or probably better, remove the
The text was updated successfully, but these errors were encountered: