cmd/go2go: translation considers package x_test to be part of package x #39801
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go 1 allows
package a_test
to referencepackage b
andpackage b
to referencepackage a
. go2go considers this to be an import cycle.go test
will succeed with the following, butgo tool go2go test
will issue a circular import error (if .go is changed to .go2)What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
git clone https://gitlab.com/firelizzard/go-iter
cd go-iter/issues/i4
go tool go2go build
What did you expect to see?
A successful build
What did you see instead?
The text was updated successfully, but these errors were encountered: