]> Cypherpunks repositories - gostls13.git/commit
go/types: make ptrRecv a method hasPtrRecv of Func
authorRobert Griesemer <gri@golang.org>
Tue, 21 Sep 2021 18:25:59 +0000 (11:25 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 21 Sep 2021 20:29:00 +0000 (20:29 +0000)
commitf6f6621312263e1e3ea2928bdccc967f0f977865
treef243a57147dd0c61b0cefeef50b063788a242227
parent5efa8ff340d9fcc2dfc7a5136f1ed4067eb5e91e
go/types: make ptrRecv a method hasPtrRecv of Func

This is a clean port of CL 351310 from types2 to go/types
with the necessary changes to methodset.go which doesn't
exist in types2.

Change-Id: Ifdac820d3be14c7bfa778b7bca3f6ba58d220b2e
Reviewed-on: https://go-review.googlesource.com/c/go/+/351311
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/go/types/lookup.go
src/go/types/methodset.go
src/go/types/named.go
src/go/types/object.go
src/go/types/resolver.go