1
0
mirror of https://github.com/golang/go synced 2024-10-01 16:38:34 -06:00
go/internal/lsp/testdata/rename/crosspkg/other/other.go
Rebecca Stambler 4320446551 internal/lsp: permit renaming symbols declared in other packages
Also, add a test for it.

Fixes golang/go#36743

Change-Id: I750ea36189a4ec5c9dc8553e4739b0238c2b29c8
Reviewed-on: https://go-review.googlesource.com/c/tools/+/216306
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2020-01-27 18:56:10 +00:00

9 lines
149 B
Go

package other
import "golang.org/x/tools/internal/lsp/rename/crosspkg"
func Other() {
crosspkg.Bar
crosspkg.Foo() //@rename("Foo", "Flamingo")
}