mirror of
https://github.com/golang/go
synced 2024-11-19 02:24:41 -07:00
c9403068c1
Prepare rename gets the range of the identifier to rename. Returns an error when there is no identifier to rename. Change-Id: I5e5865bc9ff97e6a95ac4f0c48edddcfd0f9ed67 Reviewed-on: https://go-review.googlesource.com/c/tools/+/191170 Run-TryBot: Suzy Mueller <suzmue@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
7 lines
212 B
Go
7 lines
212 B
Go
package good //@diag("package", "no_diagnostics", "")
|
|
|
|
func stuff() { //@item(good_stuff, "stuff", "func()", "func"),prepare("stu", "stuff", "stuff")
|
|
x := 5
|
|
random2(x) //@prepare("dom", "random2", "random2")
|
|
}
|