mirror of
https://github.com/golang/go
synced 2024-11-18 23:54:41 -07:00
97ad0ed331
Add a special case for append() arguments so we infer the expected type from the append() context. For example: var foo []int foo = append(<>) We now infer the expected type at <> to be []int. We also support the variadicity of append(). Change-Id: Ie0ef0007907fcb7992f9697cb90970ce4d9a66b8 Reviewed-on: https://go-review.googlesource.com/c/tools/+/205606 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
24 lines
491 B
Plaintext
24 lines
491 B
Plaintext
-- summary --
|
|
CompletionsCount = 215
|
|
CompletionSnippetCount = 47
|
|
UnimportedCompletionsCount = 3
|
|
DeepCompletionsCount = 5
|
|
FuzzyCompletionsCount = 7
|
|
RankedCompletionsCount = 22
|
|
CaseSensitiveCompletionsCount = 4
|
|
DiagnosticsCount = 22
|
|
FoldingRangesCount = 2
|
|
FormatCount = 6
|
|
ImportCount = 7
|
|
SuggestedFixCount = 1
|
|
DefinitionsCount = 38
|
|
TypeDefinitionsCount = 2
|
|
HighlightsCount = 2
|
|
ReferencesCount = 6
|
|
RenamesCount = 20
|
|
PrepareRenamesCount = 8
|
|
SymbolsCount = 1
|
|
SignaturesCount = 21
|
|
LinksCount = 4
|
|
|