1
0
mirror of https://github.com/golang/go synced 2024-10-01 13:28:37 -06:00
go/internal/lsp/testdata/rename
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
..
a internal/lsp: rename identifiers in test packages 2019-07-09 21:17:00 +00:00
b internal/lsp: return an error when renaming a builtin 2019-07-09 18:23:51 +00:00
bad internal/lsp: check no errs for assignability rename 2019-07-08 20:09:55 +00:00
testy internal/lsp: fix bug renaming local vars with test files present 2019-08-15 14:43:58 +00:00