mirror of
https://github.com/golang/go
synced 2024-11-19 00:54:42 -07:00
a6aac22fcd
We weren't returning promoted methods as implementations when the promoted method was defined in a different package than the type implementing the interface. Fix by properly mapping the implementer types.Object to its containing source.Package. I generalized the implementations() result to just contain the implementer objects and their containing package. This allowed me to get rid of some result prep code in Implementation(). Fixes golang/go#35972. Change-Id: I867f2114c34e2ad39515ee3c8b6354c1cd35f7af Reviewed-on: https://go-review.googlesource.com/c/tools/+/210280 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
25 lines
517 B
Plaintext
25 lines
517 B
Plaintext
-- summary --
|
|
CompletionsCount = 223
|
|
CompletionSnippetCount = 53
|
|
UnimportedCompletionsCount = 4
|
|
DeepCompletionsCount = 5
|
|
FuzzyCompletionsCount = 7
|
|
RankedCompletionsCount = 26
|
|
CaseSensitiveCompletionsCount = 4
|
|
DiagnosticsCount = 35
|
|
FoldingRangesCount = 2
|
|
FormatCount = 6
|
|
ImportCount = 7
|
|
SuggestedFixCount = 1
|
|
DefinitionsCount = 39
|
|
TypeDefinitionsCount = 2
|
|
HighlightsCount = 44
|
|
ReferencesCount = 7
|
|
RenamesCount = 22
|
|
PrepareRenamesCount = 8
|
|
SymbolsCount = 1
|
|
SignaturesCount = 22
|
|
LinksCount = 6
|
|
ImplementationsCount = 5
|
|
|