Skip to content

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

@josharian

Description

@josharian
$ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeGoCommandcmd/goNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions