-
Notifications
You must be signed in to change notification settings - Fork 658
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 on windows with import "path/filepath" #37
Comments
Are you sure you're using the latest version of the gocode and the Go compiler? Check it. I won't fix this bug, no windows on my machine, sorry. If anyone can fix it or at least confirm it - do it. |
Yes, latest hg / git of go / gocode. |
Got it. The bug is triggered by the following declaration in windows filepath.a :
... this breaks the parsing in PackageFileCache.expandPackages Almost trivial patch attached, please apply :-) Best regards, Vincent On Fri, May 20, 2011 at 9:01 PM, nsf
|
Committed. |
Hi, gocode panic on windows on any unit that tries to import path/filepath :
fail.go:
package main
import "path/filepath"
gocode -in fail.go autocomplete 1
The text was updated successfully, but these errors were encountered: