cmd/go: list module directory should show correct import path #26550
Labels
FrozenDueToAge
modules
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
In general,
go list -f {{.ImportPath}} $(go list -f {{.Dir}} x/y/z)
should print x/y/z (or fail because x/y/z is not known).Directories in the module cache are not properly mapped back to the shorter import paths.
(Of course that should only happen when that exact module version is in the build list.)
The text was updated successfully, but these errors were encountered: