mirror of
https://github.com/golang/go
synced 2024-11-18 18:44:42 -07:00
d456b1cd8c
The goimports code tries to read source from disk if none is supplied, but the completion functions don't need source. Pass a dummy slice. Fixes golang/go#36671. Change-Id: Ieecc9ee75d39f8f165c7b9764ff49c8334a7fcd2 Reviewed-on: https://go-review.googlesource.com/c/tools/+/215681 Run-TryBot: Heschi Kreinick <heschi@google.com> Reviewed-by: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
testdata/mod | ||
fix_test.go | ||
fix.go | ||
imports_test.go | ||
imports.go | ||
mkindex.go | ||
mkstdlib.go | ||
mod_112_test.go | ||
mod_114_test.go | ||
mod_cache_test.go | ||
mod_cache.go | ||
mod_pre114_test.go | ||
mod_test.go | ||
mod.go | ||
proxy_112_test.go | ||
proxy_113_test.go | ||
sortimports.go | ||
zstdlib.go |