1
0
mirror of https://github.com/golang/go synced 2024-11-19 01:04:40 -07:00
go/internal/lsp/cache
Edward Muller 6f0482744c internal/lsp/cache: fix nil check by adding missing "continue"
Without this accessing gof.ast.file.Pos() will panic if gof.ast.file is nil

Change-Id: I829f3667d201f026fcf0475f4fdabce0aced58f8

Change-Id: I829f3667d201f026fcf0475f4fdabce0aced58f8
GitHub-Last-Rev: 777c015d691bf0d14cab5bb0bca6749cc9bdf605
GitHub-Pull-Request: golang/tools#119
Reviewed-on: https://go-review.googlesource.com/c/tools/+/182420
Reviewed-by: Ian Cottrell <iancottrell@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-06-14 20:25:48 +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: use the memoize package to get *token.Files 2019-06-14 19:20:18 +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