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/gc: inconsistent definition during type import #6513
Labels
Milestone
Comments
I have bisected it to changeset: 15205:6a028d6b7222 user: Rémy Oudompheng <oudomphe@phare.normalesup.org> date: Sat Dec 22 19:16:31 2012 +0100 summary: cmd/gc: fix wrong interaction between inlining and embedded builtins. so it is certainly present in Go 1.1 (but not Go 1.0). Can you check again ? |
Hmm. Interesting. I just did a fresh checkout of go1.1.2 and it's broken there too. Also at go1.1.1. Yet my original test case is fine with go1.1.1 and broken with tip, so I don't know what's going on there. Perhaps my test case is subtly different and no longer highlights the regression. Either way, there's still a bug that seems worth fixing, and it sounds like you're on the culprit. |
Can you bisect the commit that triggers the regression with your original test case? It is essentially impossible to miss the bug: your minimal example can be even simplified by saying B is: package b import "a" var U a.T even without embedding. So maybe you had something shadowing the original bug? |
Please try https://golang.org/cl/14188044 Status changed to Started. |
I submitted Remy's CL but forgot to add "Fixes issue #6513". Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: