1
0
mirror of https://github.com/golang/go synced 2024-10-01 13:08:32 -06:00
go/internal/lsp/cmd
Evan Digby d88f79806b internal/lsp: fix swallowed package errors
If a package has an error that makes it completely unparseable, such as containing a .go file with no "package" statement, the error was previously unreported. Such errors would manifest as other errors.

Fixes golang/go#31712

Change-Id: I11b8d0e2e4d64b03fbcb4c35e7f0b02fccc83fad
GitHub-Last-Rev: 1581cbe36c269dd964f0b9226dbd63b1650c2a5b
GitHub-Pull-Request: golang/tools#102
Reviewed-on: https://go-review.googlesource.com/c/tools/+/177605
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-05-17 18:33:31 +00:00
..
check_test.go internal/lsp: making cmd tests fast and small 2019-05-10 20:14:07 +00:00
check.go internal/lsp: add shutdown handling 2019-05-15 23:16:32 +00:00
cmd_race_test.go internal/lsp: extract the common test logic 2019-04-22 16:50:02 +00:00
cmd_test.go internal/lsp: add structured layers to the cache 2019-05-16 21:30:38 +00:00
cmd.go internal/lsp: fix swallowed package errors 2019-05-17 18:33:31 +00:00
definition_test.go internal/lsp: support definitions and hover for builtins 2019-05-17 00:35:10 +00:00
definition.go internal/lsp: add shutdown handling 2019-05-15 23:16:32 +00:00
export_test.go internal/lsp: refactor query definition test to allow adding a new test 2019-03-18 20:06:54 +00:00
format_test.go internal/lsp: add structured layers to the cache 2019-05-16 21:30:38 +00:00
format.go internal/lsp: add shutdown handling 2019-05-15 23:16:32 +00:00
info.go internal/lsp: add version and bug commands 2019-05-11 04:16:02 +00:00
query.go internal/lsp: fix query cmd usage 2019-04-22 18:06:03 +00:00
serve.go internal/lsp: add structured layers to the cache 2019-05-16 21:30:38 +00:00