mirror of
https://github.com/golang/go
synced 2024-11-19 00:54:42 -07:00
a222fb47e2
We downrank untyped constant candidates so that we prefer candidates whose type matches exactly. However, this was causing builtin constants like "true" to be outranked by candidates that fuzzily match "true". Fix by not downranking builtin constants. Fixes golang/go#36363. Change-Id: I14801688c96efdbb7ff9fee69f66028530df984c Reviewed-on: https://go-review.googlesource.com/c/tools/+/213137 Reviewed-by: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
25 lines
517 B
Plaintext
25 lines
517 B
Plaintext
-- summary --
|
|
CompletionsCount = 223
|
|
CompletionSnippetCount = 61
|
|
UnimportedCompletionsCount = 4
|
|
DeepCompletionsCount = 5
|
|
FuzzyCompletionsCount = 8
|
|
RankedCompletionsCount = 33
|
|
CaseSensitiveCompletionsCount = 4
|
|
DiagnosticsCount = 35
|
|
FoldingRangesCount = 2
|
|
FormatCount = 6
|
|
ImportCount = 7
|
|
SuggestedFixCount = 1
|
|
DefinitionsCount = 43
|
|
TypeDefinitionsCount = 2
|
|
HighlightsCount = 45
|
|
ReferencesCount = 7
|
|
RenamesCount = 22
|
|
PrepareRenamesCount = 8
|
|
SymbolsCount = 1
|
|
SignaturesCount = 22
|
|
LinksCount = 8
|
|
ImplementationsCount = 5
|
|
|