]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/mvs: in Upgrade, pass upgrades to buildList as upgrades
authorBryan C. Mills <bcmills@google.com>
Sat, 31 Oct 2020 02:13:51 +0000 (22:13 -0400)
committerBryan C. Mills <bcmills@google.com>
Thu, 5 Nov 2020 16:47:45 +0000 (16:47 +0000)
commita19a4dcb987d010b5ed0cecc4b377382f42a6ecc
treee19d303ab203b57ff5f3fa1bd9448a00a5dcf3da
parent4a3339223c82b6d184d2fd990b996ed0b365653c
cmd/go/internal/mvs: in Upgrade, pass upgrades to buildList as upgrades

This has no impact on the resulting build list, but provides clearer
diagnostics if reqs.Required returns an error for one of the upgraded
modules.

For #37438

Change-Id: I5cd8f72a9b7b9a0b185e1a728f46fefbd2f09b4a
Reviewed-on: https://go-review.googlesource.com/c/go/+/266897
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/mvs/mvs.go
src/cmd/go/internal/mvs/mvs_test.go