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
Assignees
Milestone

Comments

@griesemer
Copy link
Contributor

@griesemer griesemer commented Nov 1, 2016

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

@griesemer griesemer commented Nov 1, 2016

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.

Loading

@gopherbot
Copy link

@gopherbot gopherbot commented Nov 1, 2016

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

Loading

@gopherbot gopherbot closed this in c3e0dc2 Nov 1, 2016
@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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants