mirror of https://github.com/golang/go.git
With instantiated types, method objects are no longer unique: they may be instantiations of methods with generic receiver. However, some use-cases require finding the canonical method representing the method in the source. For these use-cases, provide an OriginMethod helper. For golang/go#50447 Change-Id: I6f8af3fb5c5eeefb11f8f3bdba54cd6692ca389f Reviewed-on: https://go-review.googlesource.com/c/tools/+/380554 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> Reviewed-by: Tim King <taking@google.com> |
||
|---|---|---|
| .. | ||
| example | ||
| genericfeatures | ||
| common.go | ||
| common_test.go | ||
| copytermlist.go | ||
| enabled_go117.go | ||
| enabled_go118.go | ||
| normalize.go | ||
| normalize_test.go | ||
| termlist.go | ||
| typeparams_go117.go | ||
| typeparams_go118.go | ||
| typeparams_test.go | ||
| typeterm.go | ||