cmd/go: prevent import modules that may cause import cycles #44669
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Assume we have two modules: A (cyclemod) and B (cyclemod2). Go module does not complain about the following dependency relationship:
However, it is possible in a version of A:
and in B:
This leads to:
The dependency cycle might happen at
go mod tidy
, but the import cycle is not detected. Maybe, Go module should either:The text was updated successfully, but these errors were encountered: