diff options
author | Rebecca Stambler <rstambler@golang.org> | 2020-05-13 02:36:29 -0400 |
---|---|---|
committer | Rebecca Stambler <rstambler@golang.org> | 2020-05-29 16:28:54 +0000 |
commit | d859f6780395e887408817eefdd2d594135024b7 (patch) | |
tree | cb0ef73c55079614620acc7e8e155b4a6d9a7263 /internal/lsp/debug | |
parent | 41453949f3635f6dd9e46b2279b1a721a4a8216c (diff) | |
download | golang-x-tools-d859f6780395e887408817eefdd2d594135024b7.tar.gz |
go/packages: handle x test overlays with no content
This change handles the case when an empty x test is provided in an
overlay. Previously, the package name was being changed back to the name
of the rest of the files in the package, but in reality, we don't want
that behavior for x tests.
Change-Id: I4c7d938e9c26b92d4a688d3cfd42755b35e2c1c3
Reviewed-on: https://go-review.googlesource.com/c/tools/+/233657
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Peter Weinberger <pjw@google.com>
Diffstat (limited to 'internal/lsp/debug')
0 files changed, 0 insertions, 0 deletions