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

Comments

@josharian
Copy link
Contributor

@josharian josharian commented Mar 23, 2019

$ 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 label Mar 23, 2019
@jayconrod jayconrod added the GoCommand 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

This comment has been minimized.

Copy link
Member

@bcmills 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.)

@josharian

This comment has been minimized.

Copy link
Contributor Author

@josharian josharian commented Sep 20, 2019

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

@josharian josharian closed this Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.