mirror of
https://github.com/golang/go
synced 2024-11-18 14:14:46 -07:00
6fe4996ff4
Fix a minor completion ranking issue: foo := func(int, int) {} foo(123, <>) Previously we were preferring "foo()" at "<>" even though it can't be used. We mistakenly thought we were completing the first param because the *ast.CallExpr appears to only have a single param. Change-Id: Iedbbb1870a4b9eb5d5be4ed266b8bb3e313b496b Reviewed-on: https://go-review.googlesource.com/c/tools/+/246697 Run-TryBot: Muir Manders <muir@mnd.rs> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
lsp | ||
missingdep | ||
missingtwodep | ||
unused | ||
upgradedep |