go/types: mismatching 'indirect' results from NewMethodSet and LookupFieldOrMethod for interface methods #51592
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
For
T
below, we get different results for whether or notm
is indirect when using the NewMethodSet vs LookupFieldOrMethod APIs:https://go.dev/play/p/yvswbEovSem
Unless I'm misunderstanding, these APIs should agree.
CC @griesemer
The text was updated successfully, but these errors were encountered: