-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gopls-release-branch.0.1] go/packages: fix overlay deps for packages…
… with test variants This change handles the case when an import gets added in an overlay a package with a test variant. Previously, we would only add that dependency to the test variant of the package. Fixes golang/go#34379 Change-Id: I82c3d72d7c2d0b970fb27c1aea5be71783b83764 Reviewed-on: https://go-review.googlesource.com/c/tools/+/196259 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org> (cherry picked from commit 2c1181b) Reviewed-on: https://go-review.googlesource.com/c/tools/+/196279 Reviewed-by: Ian Cottrell <iancottrell@google.com>
- Loading branch information
1 parent
8ff4a1a
commit 0315ea0
Showing
2 changed files
with
67 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters