blob: 2722ad96e6197f2fb4bcdbde1659620576eb8849 [file] [log] [blame]
-- Flamingo-rename --
crosspkg.go:
package crosspkg
func Flamingo() { //@rename("Foo", "Dolphin")
}
var Bar int //@rename("Bar", "Tomato")
other.go:
package other
import "golang.org/x/tools/internal/lsp/rename/crosspkg"
func Other() {
crosspkg.Bar
crosspkg.Flamingo() //@rename("Foo", "Flamingo")
}