mirror of
https://github.com/golang/go
synced 2024-11-18 19:14:40 -07:00
818555187f
Unimported completions now try to pull Packages from everywhere, not just the transitive dependencies of the current package. That confused the import formatting code, which only looked at deps. Pass the Package along with the import suggestion, and use it when it's present. Also change some error messages to be different for diagnostic purposes. Fixes golang/go#35359. Change-Id: Ia8ca923e46723e855ddd2da7611e6eb13c02bb4f Reviewed-on: https://go-review.googlesource.com/c/tools/+/205501 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
analysis.go | ||
builtin.go | ||
cache.go | ||
check.go | ||
error_test.go | ||
errors.go | ||
external.go | ||
file.go | ||
gofile.go | ||
load.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view.go | ||
watcher.go |