go/gopls/internal/regtest
Robert Findley 3807419523 internal/lsp/cache: validate the range for critical errors in go files
This avoids the panic reported in golang/go#54395.

Fixes golang/go#54395

Change-Id: Ief35985a503d3cc13971499dc6f4e9c1d1d63ea3
Reviewed-on: https://go-review.googlesource.com/c/tools/+/422894
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
2022-08-11 13:46:09 +00:00
..
bench gopls/internal/regtest/bench: add a -gopls_version flag 2022-08-10 15:08:24 +00:00
codelens internal/lsp/source: don't crash requesting gc_details for an empty file 2022-08-02 18:19:01 +00:00
completion internal/lsp/regtest: only run /default tests with -short 2022-07-26 21:20:53 +00:00
debug internal/lsp/regtest: allow sharing memoized results across regtests 2022-07-26 21:20:42 +00:00
diagnostics internal/lsp/cache: register a file watcher for explicit GOWORK values 2022-08-08 18:11:08 +00:00
inlayhints internal/lsp/regtest: simplify, consolidate, and document settings 2022-07-12 16:56:46 +00:00
misc gopls/internal/regtest: fix TestFailingDiagnosticClearingOnEdit 2022-08-09 15:36:31 +00:00
modfile gopls/internal/regtest/bench: refactor and improve benchmarks 2022-08-04 14:58:59 +00:00
template gopls/internal/regtest/bench: refactor and improve benchmarks 2022-08-04 14:58:59 +00:00
watch internal/lsp: re-send diagnostics on file events 2022-08-02 18:52:36 +00:00
workspace internal/lsp/cache: validate the range for critical errors in go files 2022-08-11 13:46:09 +00:00