Descriptiongo.tools/go/types: LookupFieldOrMethod should not return methods with receiver *T when T is queried.
As a nice side-effect, some error strings were improved: T.m now reports "not in method set", not "no field or method"; and T{}.m reports "no field or method" instead of "not in method set".
Fixes issue 8584
Patch Set 1 #Patch Set 2 : diff -r 99ba754ccda058670c32c43ca1506d3b6029b0f7 https://code.google.com/p/go.tools #Patch Set 3 : diff -r 918b8a7e7b1e97a664074c42688ee666b4fd906d https://code.google.com/p/go.tools #
Total comments: 6
MessagesTotal messages: 9
|