blob: 49ff7f841cf33ce54a6f28c7dade1e87c2b6b3ac [file] [log] [blame]
-- Dolphin-rename --
crosspkg.go:
package crosspkg
func Dolphin() { //@rename("Foo", "Dolphin")
}
var Bar int //@rename("Bar", "Tomato")
other.go:
package other
import "golang.org/lsptests/rename/crosspkg"
func Other() {
crosspkg.Bar
crosspkg.Dolphin() //@rename("Foo", "Flamingo")
}
-- Tomato-rename --
crosspkg.go:
package crosspkg
func Foo() { //@rename("Foo", "Dolphin")
}
var Tomato int //@rename("Bar", "Tomato")
other.go:
package other
import "golang.org/lsptests/rename/crosspkg"
func Other() {
crosspkg.Tomato
crosspkg.Foo() //@rename("Foo", "Flamingo")
}