blob: de35cc81a9e78ea94cebb951e071d410c123bee2 [file] [log] [blame]
package other
import (
references "golang.org/x/tools/internal/lsp/references"
)
func GetXes() []references.X {
return []references.X{
{
Y: 1, //@mark(GetXesY, "Y"),refs("Y", typeXY, GetXesY, anotherXY)
},
}
}
func _() {
references.Q = "hello" //@mark(assignExpQ, "Q")
bob := func(_ string) {}
bob(references.Q) //@mark(bobExpQ, "Q")
}