1
0
mirror of https://github.com/golang/go synced 2024-10-01 09:28:37 -06:00
go/internal/lsp/source
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
..
analysis.go internal/lsp: add more error propagation and logging for analyses 2019-04-24 02:44:48 +00:00
completion_format.go internal/lsp: fix completion insertion 2019-05-17 18:32:58 +00:00
completion_snippet.go internal/lsp: handle additional snippet cases 2019-05-15 17:48:15 +00:00
completion.go internal/lsp: fix completion insertion 2019-05-17 18:32:58 +00:00
diagnostics_test.go internal/lsp: fix swallowed package errors 2019-05-17 18:33:31 +00:00
diagnostics.go internal/lsp: fix swallowed package errors 2019-05-17 18:33:31 +00:00
enums.go internal/lsp: switch completion item tests to using the enum strings 2019-04-17 17:57:43 +00:00
format.go internal/lsp: prepare for non go files 2019-05-15 23:59:46 +00:00
highlight.go internal/lsp: prepare for non go files 2019-05-15 23:59:46 +00:00
hover.go internal/lsp: support definitions and hover for builtins 2019-05-17 00:35:10 +00:00
identifier.go internal/lsp: support definitions and hover for builtins 2019-05-17 00:35:10 +00:00
signature_help.go internal/lsp: support definitions and hover for builtins 2019-05-17 00:35:10 +00:00
source_test.go internal/lsp: fix completion insertion 2019-05-17 18:32:58 +00:00
symbols.go internal/lsp: prepare for non go files 2019-05-15 23:59:46 +00:00
util.go internal/lsp: support definitions and hover for builtins 2019-05-17 00:35:10 +00:00
view.go internal/lsp: support definitions and hover for builtins 2019-05-17 00:35:10 +00:00