1
0
mirror of https://github.com/golang/go synced 2024-11-18 11:24:41 -07:00
go/internal/lsp/cache
Heschi Kreinick c9a70fc28c internal/lsp/cache: fix release tag parsing
A copy and paste error meant that gopls iterated over the built-in
release tags rather than the ones read from go list. If gopls was built
with an older release than the go command in use, it would read past the
end of the slice and die.

Change-Id: Ifc222c7a0bd9662bcd7deedaa069797e213df7b3
Reviewed-on: https://go-review.googlesource.com/c/tools/+/255360
Trust: Heschi Kreinick <heschi@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-09-16 19:50:26 +00:00
..
analysis.go internal/memoize: switch from GC-driven to explicit deletion 2020-08-10 19:02:17 +00:00
cache.go internal/memoize: switch from GC-driven to explicit deletion 2020-08-10 19:02:17 +00:00
check.go internal/lsp: enable multi-module workspace mode by default in tests 2020-09-15 20:16:39 +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: add support for RelatedInformation in diagnostics 2020-09-04 18:57:47 +00:00
keys.go internal/lsp: decouple client and server debug 2020-06-11 13:49:48 +00:00
load.go internal/lsp/cache: fix -mod=mod for workspace module setups 2020-09-15 17:38:23 +00:00
mod_tidy.go internal/lsp/cache: automatically construct the workspace module 2020-09-11 04:00:25 +00:00
mod.go internal/lsp: enable multi-module workspace mode by default in tests 2020-09-15 20:16:39 +00:00
os_darwin.go internal/lsp: add a mutex around the view's options 2020-04-02 16:41:49 +00:00
os_windows.go internal/lsp/cache: validate workspace path case 2020-03-27 19:55:53 +00:00
parse_test.go internal/lsp/cache: trim ellipsis array literals 2020-08-12 23:16:40 +00:00
parse.go internal/lsp/cache: trim ellipsis array literals 2020-08-12 23:16:40 +00:00
pkg.go internal/lsp: enable multi-module workspace mode by default in tests 2020-09-15 20:16:39 +00:00
session.go internal/lsp: enable multi-module workspace mode by default in tests 2020-09-15 20:16:39 +00:00
snapshot.go internal/lsp: enable multi-module workspace mode by default in tests 2020-09-15 20:16:39 +00:00
view_test.go internal/lsp/cache: validate workspace path case 2020-03-27 19:55:53 +00:00
view.go internal/lsp/cache: fix release tag parsing 2020-09-16 19:50:26 +00:00