1
0
mirror of https://github.com/golang/go synced 2024-10-01 07:18:32 -06:00
go/internal/lsp/cache
Edward Muller 7653e6d3d5 internal/lsp/cache: fix ineffectual err assignment
The `if err :=` block creates a shadow err value that is then discarded
after the block.

Change-Id: I78f6a7298ac5d3d86ece056a9e328bcee9fdc683

Change-Id: I78f6a7298ac5d3d86ece056a9e328bcee9fdc683
GitHub-Last-Rev: 4bac8fb982fa3a0724206422b1a4dbc5e41c34a9
GitHub-Pull-Request: golang/tools#114
Reviewed-on: https://go-review.googlesource.com/c/tools/+/181777
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-06-17 16:34:45 +00:00
..
cache.go internal/lsp: using memoize for all file contents 2019-06-11 20:12:47 +00:00
check.go internal/lsp/cache: fix nil check by adding missing "continue" 2019-06-14 20:25:48 +00:00
external.go internal/lsp: using memoize for all file contents 2019-06-11 20:12:47 +00:00
file.go internal/lsp: use the memoize package to get *token.Files 2019-06-14 19:20:18 +00:00
gofile.go internal/lsp: use ids instead of package paths as map keys 2019-06-12 18:00:59 +00:00
load.go internal/lsp: parse filenames only out of go list errors 2019-06-14 19:27:58 +00:00
modfile.go internal/lsp: add modfile, sumfile structs, require Go files for diagnostics 2019-05-24 21:02:28 +00:00
parse.go internal/lsp/cache: fix ineffectual err assignment 2019-06-17 16:34:45 +00:00
pkg.go internal/lsp: use ids instead of package paths as map keys 2019-06-12 18:00:59 +00:00
session.go internal/lsp: use ids instead of package paths as map keys 2019-06-12 18:00:59 +00:00
sumfile.go internal/lsp: add modfile, sumfile structs, require Go files for diagnostics 2019-05-24 21:02:28 +00:00
token.go internal/lsp: use the memoize package to get *token.Files 2019-06-14 19:20:18 +00:00
view.go internal/lsp: use ids instead of package paths as map keys 2019-06-12 18:00:59 +00:00
watcher.go internal/lsp: add file watching and use it to trigger invalidations 2019-05-24 14:03:12 +00:00