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
cmd/go2go: type checking fails for golang.org/x/tools/go/packages #40418
Comments
From working on the go2go-compatible |
The experimental generics prototype doesn't support modules at all. |
I don't think it's due to modules, the error is approximately the same after
If it is due to modules, the error message could be improved: I would expect the tool to either assume |
You're right, it's not modules. The tool is confused by the package golang.org/x/tools/go/gcexportdata. The tool doesn't support build tags. It's getting an error "multiple Go packages in /home/iant/gopath/src/golang.org/x/tools/go/gcexportdata". It's because that package has a main.go file with This isn't something I intend to fix. If someone else wants to fix it, that would be fine. Sorry. |
No longer relevant |
When running the latest
go2go translate
on this fileI get this error
The text was updated successfully, but these errors were encountered: