1
0
mirror of https://github.com/golang/go synced 2024-11-19 01:34:40 -07:00
go/internal/lsp/cache
Rebecca Stambler 68211a626c internal/lsp: fix some issues with trimming ASTs
This change correctly invalidates the cache when we
have to go from a trimmed to untrimmed AST.

The "ignoreFuncBodies" behavior is still disabled due to a racy test.

Updates golang/go#30309

Change-Id: I6b89d1d2140d77517616cb3956721a157c25ab71
Reviewed-on: https://go-review.googlesource.com/c/tools/+/180857
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-06-07 20:08:10 +00:00
..
cache.go internal/lsp: change file system to allow lazy reads 2019-06-06 01:09:34 +00:00
check.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
external.go internal/lsp: remove source.FileContent 2019-06-06 05:02:23 +00:00
file.go internal/lsp: remove source.FileContent 2019-06-06 05:02:23 +00:00
gofile.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
load.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +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: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
pkg.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
session.go internal/lsp: remove source.FileContent 2019-06-06 05:02:23 +00:00
sumfile.go internal/lsp: add modfile, sumfile structs, require Go files for diagnostics 2019-05-24 21:02:28 +00:00
view.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
watcher.go internal/lsp: add file watching and use it to trigger invalidations 2019-05-24 14:03:12 +00:00