aboutsummaryrefslogtreecommitdiff
path: root/internal/lsp/testdata/rename/testy/testy.go.golden
blob: 288dfee9682395f7bb2b8cc180d06a68cb5672a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-- bar-rename --
package testy

type tt int //@rename("tt", "testyType")

func a() {
	bar := 42 //@rename("foo", "bar")
}

-- testyType-rename --
package testy

type testyType int //@rename("tt", "testyType")

func a() {
	foo := 42 //@rename("foo", "bar")
}