1
0
mirror of https://github.com/golang/go synced 2024-11-18 19:44:46 -07:00
go/internal/lsp/source
Rebecca Stambler 8bdde6d5f2 internal/lsp: create new cache for each analysis
Because diagnostics computations happen in parallel, we were getting
concurrent map writes by keeping one cache.

Change-Id: Ifa5adffe14c509168c9f8c5cb012f3fcd3a32441
Reviewed-on: https://go-review.googlesource.com/c/163161
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
2019-02-20 22:52:34 +00:00
..
analysis.go internal/lsp: create new cache for each analysis 2019-02-20 22:52:34 +00:00
completion.go internal/lsp: remove error return values from interface "field" accessors 2019-02-13 21:58:50 +00:00
definition.go internal/lsp: remove error return values from interface "field" accessors 2019-02-13 21:58:50 +00:00
diagnostics.go internal/lsp: change File.Read to a File.GetContent accessor 2019-02-14 04:36:41 +00:00
format.go internal/lsp: remove unused range parameter from computeTextEdits 2019-02-20 18:40:53 +00:00
signature_help.go internal/lsp: remove error return values from interface "field" accessors 2019-02-13 21:58:50 +00:00
uri_test.go internal/lsp/source: avoid having build tagged files for uri 2018-12-17 19:55:17 +00:00
uri.go internal/lsp: add ranges to some diagnostics messages 2018-12-20 19:13:07 +00:00
view.go internal/lsp: change File.Read to a File.GetContent accessor 2019-02-14 04:36:41 +00:00