-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: go list ./... in module mode with no packages results in two identical error messages #26925
Comments
That's related to the TODO here: go/src/cmd/go/internal/modload/load.go Line 105 in 64205cd
|
(And probably trivial to fix with a |
I'm working on cleanup that will take care of this. |
Change https://golang.org/cl/129058 mentions this issue: |
Change https://golang.org/cl/129060 mentions this issue: |
It's important for some uses of go/packages, as well as for some of go/packages's internal use, to be able to tell which results from go list output correspond to which patterns, keeping in mind that a single package might have been matched by multiple patterns. Also adds test for #26925. Change-Id: I708ac162f65d9946fe6afb244b08dc7b04d2b530 Reviewed-on: https://go-review.googlesource.com/129060 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Alan Donovan <adonovan@google.com>
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
n/a: testing with tip.
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
printed to stderr and zero exit code.
What did you see instead?
printed to stderr and zero exit code.
/cc @rsc @bcmills
The text was updated successfully, but these errors were encountered: