diff options
author | Bryan C. Mills <bcmills@google.com> | 2021-05-03 00:17:56 -0400 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2021-05-04 15:30:20 +0000 |
commit | eab0c46af7331484a7d5837cad68d9d01890b90f (patch) | |
tree | 569f01b779b4856225ef14ffe8885ecaf4ae2b46 /src/cmd/go/internal/modload/modfile.go | |
parent | 0816511d3b861a802fd6c04292ad6debd3db1831 (diff) | |
download | go-eab0c46af7331484a7d5837cad68d9d01890b90f.tar.gz go-eab0c46af7331484a7d5837cad68d9d01890b90f.zip |
cmd/go/internal/modload: remove outdated comments and redundant tests
The outdated comment in modfile.go was missed in CL 315409.
Upon a closer look at the test case in mod_go_version_vendor.txt, it
is almost completely redundant with the new test in
mod_vendor_goversion.txt. Make it completely redundant and remove it.
Updates #36876
Change-Id: Ibcd1f6b426460aaafbd6dc0be93078547904572b
Reviewed-on: https://go-review.googlesource.com/c/go/+/316209
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Diffstat (limited to 'src/cmd/go/internal/modload/modfile.go')
-rw-r--r-- | src/cmd/go/internal/modload/modfile.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cmd/go/internal/modload/modfile.go b/src/cmd/go/internal/modload/modfile.go index 7595db7755..bafff3e080 100644 --- a/src/cmd/go/internal/modload/modfile.go +++ b/src/cmd/go/internal/modload/modfile.go @@ -501,9 +501,6 @@ func goModSummary(m module.Version) (*modFileSummary, error) { // return the full list of modules from modules.txt. readVendorList() - // TODO(#36876): Load the "go" version from vendor/modules.txt and store it - // in rawGoVersion with the appropriate key. - // We don't know what versions the vendored module actually relies on, // so assume that it requires everything. summary.require = vendorList |