cmd/go: improve error message for replace with '@' in path #35041
Labels
FrozenDueToAge
GoCommand
cmd/go
modules
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
Error message indicating that I should have written:
instead of
What did you see instead?
I think the parser is interpreting
golang.org/x/tools@v1.0.0
as a module path without a version.@
is not a valid character in module paths, so this seems like an obvious mistake we could catch.The text was updated successfully, but these errors were encountered: