зеркало из https://github.com/golang/tools.git
add869b665
findFile has a case that returns early if the file does not exist. Handle this error in getFile to avoid inconsistently returning errors when getting file handles for files that don't exist. Unskip the test, since it is no longer flaky. Fixes golang/go#44227 Change-Id: I07a4f860cfc9f852728c31706bd924e419bd54e2 Reviewed-on: https://go-review.googlesource.com/c/tools/+/291391 Trust: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> Reviewed-by: Robert Findley <rfindley@google.com> |
||
---|---|---|
.. | ||
analysisinternal | ||
apidiff | ||
event | ||
fakenet | ||
fastwalk | ||
gocommand | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
packagesinternal | ||
proxydir | ||
span | ||
stack | ||
testenv | ||
tool | ||
typesinternal | ||
xcontext |