1
0
mirror of https://github.com/golang/go synced 2024-11-18 11:04:42 -07:00
go/internal/lsp/mod
Rebecca Stambler 28d6951fb6 internal/lsp/mod: handle nil pointer exception for empty go.mod files
Fixes golang/go#41005

Change-Id: I1745c5233977d1b5603cfbb334ff087649feaa80
Reviewed-on: https://go-review.googlesource.com/c/tools/+/250657
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2020-08-26 01:43:00 +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/mod: add go mod vendor and go mod tidy lenses 2020-08-18 00:58:47 +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: extend the mod handle functions to handle multiple files 2020-08-12 18:23:14 +00:00
mod_test.go internal/lsp/cache: ref-count snapshots 2020-08-03 22:08:54 +00:00