1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:04:43 -07:00
go/gopls/internal/hooks
Rebecca Stambler 2ee7536ab1 internal/lsp: remove nilness analyzer
The nilness analyzer requires SSA, which is very expensive to build and
uses a lot of RAM. It also seems to really shoot up memory usage when it
hits certain cases, which is causing a lot of problems for users.
Disable this analysis - we'll leave SSA to staticcheck.

Updates golang/go#36639

Change-Id: I46e67a6fd7828a5fddcd42d1aa00876f17c79e3d
Reviewed-on: https://go-review.googlesource.com/c/tools/+/219203
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2020-02-12 21:32:43 +00:00
..
analysis.go internal/lsp: remove nilness analyzer 2020-02-12 21:32:43 +00:00
diff_test.go gopls: use go-diff for edit generation 2019-10-10 20:18:25 +00:00
diff.go gopls: use go-diff for edit generation 2019-10-10 20:18:25 +00:00
hooks.go gopls: use mvdan.cc/xurls for textDocument/documentLink 2019-12-26 21:20:25 +00:00