In a dynamic interface method call x.f() where x has type I, it is not sound to assume that the receiver of the types.Signature for types.Func f has type I, as Func objects for abstract methods may be shared by multiple interfaces. Fixes golang/go#23925 Change-Id: I755e3010d1310480c46855e072946346626b3e59 Reviewed-on: https://go-review.googlesource.com/95697 Reviewed-by: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
cha | ||
rta | ||
static | ||
callgraph.go | ||
util.go |