tools/go/callgraph/cha/testdata
Alan Donovan 2c62430689 go/callgraph/cha: fix bug computing correspondence of abstract/concrete methods
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>
2018-02-21 01:23:17 +00:00
..
func.go cmd/callgraph: add -algo=static and -algo=cha options. 2014-11-21 11:07:56 -05:00
iface.go cmd/callgraph: add -algo=static and -algo=cha options. 2014-11-21 11:07:56 -05:00
issue23925.go go/callgraph/cha: fix bug computing correspondence of abstract/concrete methods 2018-02-21 01:23:17 +00:00
recv.go cmd/callgraph: add -algo=static and -algo=cha options. 2014-11-21 11:07:56 -05:00