mirror of
https://github.com/golang/go
synced 2024-11-18 11:04:42 -07:00
f26c0dd982
Untyped members from unimported packages are scored the same as typed members from unimported packages. We depended on the unimported package relevance to rank the probably-more-relevant typed members higher. However, there are some unrelated score penalties that can only be applied to typed candidates, so the untyped candidates ended up being ranked higher. Fix by increasing the relevance coefficient so the relevance score overpowers other less important scoring adjustments. Fixes golang/go#38104. Change-Id: Ie43f769a41511f9cc3747ce6936130be7a29cd31 Reviewed-on: https://go-review.googlesource.com/c/tools/+/231238 Run-TryBot: Muir Manders <muir@mnd.rs> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
---|---|---|
.. | ||
analysisinternal | ||
apidiff | ||
event | ||
fastwalk | ||
gocommand | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
packagesinternal | ||
proxydir | ||
span | ||
testenv | ||
tool | ||
xcontext |