]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix incorrect determination of import path is DirImportPath
authorMichael Matloob <matloob@golang.org>
Thu, 6 Oct 2022 17:41:02 +0000 (13:41 -0400)
committerMichael Matloob <matloob@golang.org>
Thu, 6 Oct 2022 18:18:22 +0000 (18:18 +0000)
commitfda5dcd9bba38bcdbe9ac473985e108e125c34a5
tree38e1dc095b3eee79d069807237268dc335f51797
parent9dfadf911d2dcb093c3a37c79869bead0f9f6349
cmd/go: fix incorrect determination of import path is DirImportPath

In practice this only shows up when a vendored package, imported on the
command line, imports an internal package.

Change-Id: I34c161d1f1ef15a87c58a422f17d11f77fbac53f
Reviewed-on: https://go-review.googlesource.com/c/go/+/439735
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/cmd/go/internal/modload/load.go
src/cmd/go/testdata/script/vendor_internal.txt [new file with mode: 0644]