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 not allowed error needs more detail #4292

Closed
rsc opened this issue Oct 26, 2012 · 7 comments
Closed

cmd/go: import cycle not allowed error needs more detail #4292

rsc opened this issue Oct 26, 2012 · 7 comments
Milestone

Comments

@rsc
Copy link
Contributor

rsc commented Oct 26, 2012

Suppose you edit a file in package time to import os, and then you run go run hello.go
where hello.go does fmt.Printf.

You get:

$ go run hello.go
/usr/local/go/src/pkg/fmt/print.go:10:2: import cycle not allowed
$ 

That should show the full import cycle including file names and line numbers.
@rsc
Copy link
Contributor Author

rsc commented Dec 10, 2012

Comment 1:

Labels changed: added size-m.

@rsc
Copy link
Contributor Author

rsc commented Dec 30, 2012

Comment 2:

Labels changed: added priority-later, removed priority-triage.

@rsc
Copy link
Contributor Author

rsc commented Mar 12, 2013

Comment 3:

Labels changed: added go1.1maybe, removed go1.1.

@robpike
Copy link
Contributor

robpike commented May 18, 2013

Comment 4:

Labels changed: added go1.2maybe, removed go1.1maybe.

@rsc
Copy link
Contributor Author

rsc commented Jul 30, 2013

Comment 5:

Labels changed: added feature.

@robpike
Copy link
Contributor

robpike commented Aug 19, 2013

Comment 6:

This issue was closed by revision c974b8b.

Status changed to Fixed.

@robpike
Copy link
Contributor

robpike commented Aug 26, 2013

Comment 7:

Issue #6254 has been merged into this issue.

@rsc rsc added fixed labels Aug 26, 2013
@rsc rsc self-assigned this Aug 26, 2013
@rsc rsc added this to the Go1.2 milestone Apr 14, 2015
@rsc rsc removed the go1.2maybe label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
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

3 participants