blob: dc8fe6e2842b434aa93f02006c3e32e80579d638 [file] [log] [blame]
package b
import (
"fmt"
"golang.org/x/tools/internal/lsp/godef/a"
)
func useThings() {
t := a.Thing{} //@mark(bStructType, "ing")
fmt.Print(t.Member) //@mark(bMember, "ember")
fmt.Print(a.Other) //@mark(bVar, "ther")
a.Things() //@mark(bFunc, "ings")
}
/*@
godef(bStructType, Thing)
godef(bMember, Member)
godef(bVar, Other)
godef(bFunc, Things)
*/