blob: 69674bb523ae4baeb2eb676b64ce385e2998e28d [file] [log] [blame]
This test checks the "nearby" logic of golang.objectsAt
as used by Definition. The query is on the "*" of "*T"
yet resolves to T.
-- go.mod --
module mod.com
go 1.18
-- a/a.go --
package a
type T int //@ loc(T, "T")
var _ * T //@ def("*", T)