aboutsummaryrefslogtreecommitdiff
path: root/gopls/internal/lsp/testdata/references/another/another.go
blob: 20e3ebca1cb0c40554d6c4ba952afcebf6f335b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Package another has another type.
package another

import (
	other "golang.org/lsptests/references/other"
)

func _() {
	xes := other.GetXes()
	for _, x := range xes { //@mark(defX, "x")
		_ = x.Y //@mark(useX, "x"),mark(anotherXY, "Y"),refs("Y", typeXY, anotherXY, GetXesY),refs(".", defX, useX),refs("x", defX, useX)
	}
}