Skip to content
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

go/types: importing an alias and the original causes import error #17726

Closed
griesemer opened this issue Nov 1, 2016 · 2 comments
Closed

go/types: importing an alias and the original causes import error #17726

griesemer opened this issue Nov 1, 2016 · 2 comments
Milestone

Comments

@griesemer
Copy link
Contributor

Tracking issue. See TODO in forthcoming TestAliases (go/types/api_test.go).

@griesemer griesemer added this to the Go1.8 milestone Nov 1, 2016
@griesemer griesemer self-assigned this Nov 1, 2016
@griesemer
Copy link
Contributor Author

cmd/compile exports the same object multiple times if there's more than one exported alias referring that object. This breaks an invariant that was true for the platform-specific portion of export data and which was checked and relied upon by the go/importer.

@gopherbot
Copy link
Contributor

CL https://golang.org/cl/32538 mentions this issue.

@golang golang locked and limited conversation to collaborators Nov 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants