-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: unhelpful error message when running "go install" on a replaced-but-not-required package [1.16 backport] #46551
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
Comments
Approving. This was a low-risk fix to a diagnostic message that was introduced in 1.16. |
Change https://golang.org/cl/334371 mentions this issue: |
No backport to 1.15 is needed because the unhelpful error message was not present in Go 1.15. (We produced a different error message in Go 1.15, which was not particularly more helpful but also not actively wrong in this case — but this issue didn't crop up much in Go 1.15 because we didn't yet default to |
Updates #46528 Fixes #46551 Change-Id: I2453d321ece878ea7823865758aa4a16b3ed7fe8 Reviewed-on: https://go-review.googlesource.com/c/go/+/325430 Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> Trust: Heschi Kreinick <heschi@google.com> Trust: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Go Bot <gobot@golang.org> (cherry picked from commit e552a6d) Reviewed-on: https://go-review.googlesource.com/c/go/+/334371 Trust: Bryan C. Mills <bcmills@google.com> Reviewed-by: Jay Conrod <jayconrod@google.com> Reviewed-by: Michael Matloob <matloob@golang.org>
Closed by merging 4c62fd3 to release-branch.go1.16. |
@bcmills requested issue #46528 to be considered for backport to the next 1.16 minor release.
The text was updated successfully, but these errors were encountered: