1
0
mirror of https://github.com/golang/go synced 2024-09-30 16:28:32 -06:00
go/internal/lsp/mod
Rob Findley df83f4e7c1 internal/lsp: fix builds and tests for go1.12+
Seems we've drifted a bit from go1.12 support, mostly due to error
wrapping.

Fix this, as well as some assorted other failures.

I haven't tested 1.12 interactively.

For golang/go#39146

Change-Id: Id347ead2a13e89b76d2ae0047750e6b6b49911eb
Reviewed-on: https://go-review.googlesource.com/c/tools/+/250941
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-08-27 14:30:46 +00:00
..
testdata/unchanged internal/lsp/tests: fix reset of golden files 2020-02-19 14:42:13 +00:00
code_lens.go internal/lsp: fix builds and tests for go1.12+ 2020-08-27 14:30:46 +00:00
diagnostics.go internal/lsp/mod: handle nil pointer exception for empty go.mod files 2020-08-26 01:43:00 +00:00
format.go internal/lsp: remove Mod handles 2020-07-29 19:44:36 +00:00
hover.go internal/lsp: fix builds and tests for go1.12+ 2020-08-27 14:30:46 +00:00
mod_test.go internal/lsp/cache: ref-count snapshots 2020-08-03 22:08:54 +00:00