forked from golang/tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/lsp, go/packages: fix Go 1.15-related overlay bug
Something about the ordering of `go list` results must have changed in Go 1.15, so overlays with test variants were failing to get the correct imports. Technically, the correct solution would have been to support overlays for a package *and* its test variant, but for the purposes of gopls, it's actually more important that the overlays apply to the package itself (rather than its test variant). Fixes golang/go#40685 Change-Id: I3282557502f7f30bf484e1e6c17b90db824bc7d0 Reviewed-on: https://go-review.googlesource.com/c/tools/+/252681 Run-TryBot: Rebecca Stambler <[email protected]> Reviewed-by: Michael Matloob <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]>
- Loading branch information
1 parent
6a8222e
commit 44a2922
Showing
3 changed files
with
132 additions
and
1 deletion.
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
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