x/tools/gopls: invalid memory address or nil pointer dereference #46096
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
Main issue:
I get the following error in Emacs editing go code:
Basically, adding any code will trigger a little squiggly underline (such as for errors with flycheck) on a random character of each newly added line of code, and it triggers a random error (such as `expected ';', found '...') which is weird since I thought go doesn't even use semicolons...
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Given the following program:
add
behind the initial fmt.Println statement.
What did you expect to see?
Everything to look find.
What did you see instead?
I get an error in Emacs (using gopls@latest and gocode) that is this in my message buffer in emacs:
The text was updated successfully, but these errors were encountered: