cmd/go: confusing error message when flags come before package paths #56310
Labels
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Unfortunate
Milestone
(Warning: hand-written, untested txtar.)
This is a confusing error message. I think(?) the Go tool has interpreted
-foo
as a package path, but the error message doesn't reflect that. It's true that there are no Go files in the root, but that's not the problem.Maybe the Go command could make these two equivalent. But even if it can't, a more useful error message would be welcome.
The text was updated successfully, but these errors were encountered: