/ go Public
cmd/go: improve diagnostic for module graph errors from unpruned transitive dependencies in 'go get' #48024
The path to resolution is known, but the work has not been done.
In the Go 1.17 release I left a TODO for a better error in a fairly obscure case (an error loading the versions found in the upgraded module graph, when that path arises from a transitive dependency of a
go 1.16or earlier module).
The error today should indicate which module produced the error, but ideally the error should also log the path to that module.
Such errors should become more rare over time as modules upgrade to
go 1.17and higher. However, it would still be nice to do the TODO for the better diagnostic at some point.
Lines 255 to 260 in acdea4f
The text was updated successfully, but these errors were encountered: