-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gocode panic #482
Comments
Oh, I run into this problem too. Removing all outdated (compiled with old golang version) .a files from $GOPATH/pkg helped me. |
Remove all .a files and gocode, and reinstall gocode |
@nsf can you please handle this case and add some message like "package is outdated, please rebuild" or something like that? |
I don't think I can help from the gocode side in any way. We'll just have to live with that. Until somebody implements that "language service protocol" for Go, which I believe might have an API for reporting errors or something. In gocode I never actually thought about reporting errors via autocompletion protocol. |
So first, gocode wouldnt give the proper suggestions, suggesting every single variable name and keyword in alphabetical order, instead of eg struct fields. After running through a few troubleshooting tips, including
go get -u
,gocode -debug -s
now prints out the following:https://pastebin.com/L6QfKhEM
Go version: 1.9
Any help? :)
The text was updated successfully, but these errors were encountered: