mirror of
https://github.com/golang/go
synced 2024-11-19 01:14:39 -07:00
323f198ced
Look in all packages the snapshot knows of (through a new method on snapshot called KnownPackages) and see if any of those packages contain implementations. Before, the Implementation call only looked in the current package. Much of the new complexity in implementation.go is routing through the Type to Package data in the implementsResult.pkg field so the identifier can be looked up in its correct package. Fixes golang/go#32973 Change-Id: Ifa7115b300f52fb4fb55cc00db2e7f339e8c2582 Reviewed-on: https://go-review.googlesource.com/c/tools/+/206518 Run-TryBot: Michael Matloob <matloob@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
other | ||
implementation.go |