]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modindex: apply changes in CL 502615 to modindex package
authorMichael Matloob <matloob@golang.org>
Tue, 1 Jul 2025 20:28:24 +0000 (16:28 -0400)
committerMichael Matloob <matloob@google.com>
Tue, 1 Jul 2025 21:05:14 +0000 (14:05 -0700)
commitde646d94f76237e10c932e361d0b89d0e8036902
tree49e576f3b00b98d45761776bf4b2bbd011912c92
parent2f653a5a9e9112ff64f1392ff6e1d404aaf23e8c
cmd/go/internal/modindex: apply changes in CL 502615 to modindex package

CL 502615 modified go/build to check for invalid import paths, but did
not make those changes to the corresponding code in the modindex
package. Apply those changes here.

We should try to deduplicate the code to prevent this from happening
again.

For #73976
For #74446

Change-Id: I69fc5e2c829efb818c9974ec8126807a1c8f7913
Reviewed-on: https://go-review.googlesource.com/c/go/+/685317
TryBot-Bypass: Michael Matloob <matloob@google.com>
Auto-Submit: Michael Matloob <matloob@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Matloob <matloob@google.com>
src/cmd/go/internal/modindex/build_read.go