mirror of
https://github.com/golang/go
synced 2024-11-19 14:24:47 -07:00
7b25e351ac
Support renaming of identifiers in test packages. The packages for all of the references must be checked and the changes need to be deduped, since both a package and its test package contain some of the same files. Fixes golang/go#32974 Change-Id: Ie51e19716faae77ce7e5254eeb3956faa42c2a09 Reviewed-on: https://go-review.googlesource.com/c/tools/+/185277 Run-TryBot: Suzy Mueller <suzmue@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
10 lines
111 B
Plaintext
10 lines
111 B
Plaintext
-- testyType-rename --
|
|
testy.go:
|
|
package testy
|
|
|
|
type testyType int //@rename("tt", "testyType")
|
|
|
|
func a() {
|
|
}
|
|
|