]> Cypherpunks repositories - gostls13.git/commit
go/types: fix recvPtr helper (follow-up on https://golang.org/cl/139422)
authorRobert Griesemer <gri@golang.org>
Thu, 4 Oct 2018 19:59:09 +0000 (12:59 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 5 Oct 2018 17:56:05 +0000 (17:56 +0000)
commitf2c1c7acf84a6ea8092f3b098de177b3265fbace
tree50ee378b93ab37d50a1593cfead3f8d6c110ebe4
parent28fa1da9db8eedf079f1b83fd39383e17b3d7e68
go/types: fix recvPtr helper (follow-up on https://golang.org/cl/139422)

The prior CL prepared go/types for the situation where methods might
not have a type-checked signature when being looked up. The respective
adjustments to recvPtr were not correct (but because so far method
signatures are type-checked in time, the bug didn't manifest itself).

Updates #23203.
Updates #26854.

Change-Id: I796691d11e6aac84396bdef802ad30715755fcc6
Reviewed-on: https://go-review.googlesource.com/c/139721
Reviewed-by: Alan Donovan <adonovan@google.com>
src/go/types/methodset.go