diff options
| author | Jay Conrod <jayconrod@google.com> | 2020-04-03 10:42:55 -0400 |
|---|---|---|
| committer | Jay Conrod <jayconrod@google.com> | 2020-04-03 17:42:31 +0000 |
| commit | c4f875e84e6ce3c09045fd00b72e4bb830d3e40e (patch) | |
| tree | 51602818b68d3f4462e2bede372cfbd3857ddff6 /test/codegen/mathbits.go | |
| parent | d78639519df17bf7fb5a7facef007e90d6c0283c (diff) | |
| download | go-c4f875e84e6ce3c09045fd00b72e4bb830d3e40e.tar.xz | |
cmd/go: report original module path in error parsing replaced go.mod
MVS reports an error when a go.mod file declares a module path that
doesn't match the path it was required with. If the module is a
replacement, its declared path may be the original path (preferred) or
the replacement path.
This CL makes the reported error a little more clear: the "required as"
path should be the original required path, not the replacement path.
Fixes #38220
Change-Id: I08b50a100679a447c8803cca1d1b32bc115ec1b1
Reviewed-on: https://go-review.googlesource.com/c/go/+/227097
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'test/codegen/mathbits.go')
0 files changed, 0 insertions, 0 deletions
