-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/vet: Panics with "<some-symbol> already declared" on 1.7/master #15517
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
Comments
Interestingly, the following doesn't panic:
|
CL https://golang.org/cl/23012 mentions this issue. |
@griesemer will this be backported to /x/tools/go/gcimporter15 or is one not supposed to use that package anymore? |
@dominikh This should have been back-ported already (if not, please file an issue and send it to me). /x/tools/go/gcimporter15 will stick around for the time being until go/importer provides some functionality it is currently missing. |
The main reason for the update is to pickup a fix for golang/go#15517 that was backported to gcimporter15. The issue was occuring while running golint on the project.
What version of Go are you using (
go version
)?go version devel +499cd33 Tue May 3 00:49:46 2016 +0000 darwin/amd64
What operating system and processor architecture are you using (
go env
)?darwin/amd64
What did you do?
Running go vet on the code base as part of the build, as usual. Works fine in 1.6. With current master,
go vet
panics on some parts of the code. Only happens when the package has actually been built.The text was updated successfully, but these errors were encountered: