]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modload: revert duplicate path suppression in modload.ImportMissingError
authorBryan C. Mills <bcmills@google.com>
Fri, 6 Dec 2019 20:40:04 +0000 (15:40 -0500)
committerBryan C. Mills <bcmills@google.com>
Fri, 6 Dec 2019 23:44:51 +0000 (23:44 +0000)
commit94ddb2d6217e3d031cfacb8eed68786df9227bf1
tree95ec86901601b20998bcf338371e0d06fd880ea3
parent76d2f6cc6245d0e8876c29881570d218838c1068
cmd/go/internal/modload: revert duplicate path suppression in modload.ImportMissingError

CL 210338 suppressed duplication for import paths mentioned in an
ImportMissingError.

Unfortunately, that broke one of the cases in
cmd/go/internal/modload.TestImport, and the new error message is still
kind of awkward anyway.

Let's revert that part of the change — we can try again with more
coverage for that case.

Updates #35986

Change-Id: Ib0858aec4f89a7231e32c35ec876da80d80f2098
Reviewed-on: https://go-review.googlesource.com/c/go/+/210342
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/internal/modload/import.go