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

cmd/go: import cycle error message lacks position information #31011

Closed
josharian opened this issue Mar 23, 2019 · 2 comments
Closed

cmd/go: import cycle error message lacks position information #31011

josharian opened this issue Mar 23, 2019 · 2 comments
Labels
FrozenDueToAge GoCommand cmd/go NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@josharian
Copy link
Contributor

$ go test
can't load package: import cycle not allowed
package math/big
	imports math/big

This error message would be much more helpful if it told me where the offending root import is.

cc @bcmills @jayconrod

@josharian josharian added the NeedsFix The path to resolution is known, but the work has not been done. label Mar 23, 2019
@jayconrod jayconrod added the GoCommand cmd/go label Mar 25, 2019
@jayconrod jayconrod added this to the Go1.13 milestone Mar 25, 2019
@andybons andybons modified the milestones: Go1.13, Go1.14 Jul 8, 2019
@bcmills
Copy link
Contributor

bcmills commented Sep 18, 2019

@josharian, do you have an input that reproduces this issue? (@jayconrod improved package-loading diagnostics a lot in Go 1.13.)

@bcmills bcmills added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. and removed NeedsFix The path to resolution is known, but the work has not been done. labels Sep 18, 2019
@bcmills bcmills modified the milestones: Go1.14, Unplanned Sep 18, 2019
@josharian
Copy link
Contributor Author

I don't, I'm afraid. I'll just close this and re-open if I see something like it again.

@golang golang locked and limited conversation to collaborators Sep 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge GoCommand cmd/go NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

5 participants