1
0
mirror of https://github.com/golang/go synced 2024-11-19 06:04:39 -07:00
go/internal/lsp/testdata/rename/testy
Suzy Mueller 9065c182e3 internal/lsp: fix bug renaming local vars with test files present
This fix adds all packages to the renamer packages map.

Renaming performs checks on each package to make sure there are no
conflicts. If there are multiple packages, each package needs to be
checked. The packages were being incorrectly added to the map and were
all being put under a single key.

Fixes golang/go#33664

Change-Id: I68466ce34ac49b700ce6d14ce0b53e2795926fa9
Reviewed-on: https://go-review.googlesource.com/c/tools/+/190399
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-08-15 14:43:58 +00:00
..
testy_test.go internal/lsp: rename identifiers in test packages 2019-07-09 21:17:00 +00:00
testy_test.go.golden internal/lsp: fix bug renaming local vars with test files present 2019-08-15 14:43:58 +00:00
testy.go internal/lsp: fix bug renaming local vars with test files present 2019-08-15 14:43:58 +00:00
testy.go.golden internal/lsp: fix bug renaming local vars with test files present 2019-08-15 14:43:58 +00:00