1
0
mirror of https://github.com/golang/go synced 2024-11-18 19:44:46 -07:00
go/internal/lsp/cache
Rebecca Stambler 9cc4af7d6b internal/lsp: type check packages in parallel
This change eliminates the need for the importer struct. We should no
longer need the "seen" map for cycle detection. This is because
go/packages will not return import maps with cycles, and we fail in the
Import function if we see an import we do not recognize.

Change-Id: I06922c74e07eb47ce63b56fa2ac2099e7fc8bd8a
Reviewed-on: https://go-review.googlesource.com/c/tools/+/202299
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-10-29 04:13:27 +00:00
..
analysis.go internal/lsp: remove analyzers from Analyze result 2019-10-25 02:35:17 +00:00
builtin.go internal/lsp: address staticcheck warnings 2019-10-04 02:16:23 +00:00
cache.go internal/lsp: use options hooks to install diff driver 2019-10-11 16:38:31 +00:00
check.go internal/lsp: type check packages in parallel 2019-10-29 04:13:27 +00:00
error_test.go internal/lsp: refactor error handling code in type-checking 2019-10-21 18:57:46 +00:00
errors.go internal/lsp: stop caching diagnostics on the package 2019-10-24 22:03:59 +00:00
external.go internal/lsp: address staticcheck warnings 2019-10-04 02:16:23 +00:00
file.go internal/lsp: modify approach to watching changed files 2019-10-22 21:33:45 +00:00
gofile.go internal/lsp: type check packages in parallel 2019-10-29 04:13:27 +00:00
load.go internal/lsp: modify approach to watching changed files 2019-10-22 21:33:45 +00:00
parse.go internal/lsp: stop caching diagnostics on the package 2019-10-24 22:03:59 +00:00
pkg.go internal/lsp: stop caching diagnostics on the package 2019-10-24 22:03:59 +00:00
session.go internal/lsp: modify approach to watching changed files 2019-10-22 21:33:45 +00:00
snapshot.go internal/lsp: stop caching diagnostics on the package 2019-10-24 22:03:59 +00:00
view.go internal/lsp: modify approach to watching changed files 2019-10-22 21:33:45 +00:00
watcher.go internal/lsp: modify approach to watching changed files 2019-10-22 21:33:45 +00:00