In the gopls/0.16.0-pre.1 release , a references query on the XXX method triggers a bug report:
type Foo[T any] struct{ XXX string }
func (Foo[T]) XXX() {} // References on XXX => bug.Report "KeyOf(%s)={} yet func %s is a method"
Comment From: gabyhelp
Similar Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Comment From: gopherbot
Change https://go.dev/cl/605015 mentions this issue: gopls/internal/golang: downgrade assertion in methodsets index