1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:14:43 -07:00
go/internal/lsp
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
..
browser
cache internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
cmd
debug
diff
protocol
snippet
source internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
testdata
tests
xlog
code_action.go
completion.go
definition.go
diagnostics.go
format.go
general.go
highlight.go
hover.go
link.go
lsp_test.go internal/lsp: fix some issues with trimming ASTs 2019-06-07 20:08:10 +00:00
reset_golden.sh
server.go
signature_help.go
symbols.go
text_synchronization.go
util.go
workspace.go