1
0
mirror of https://github.com/golang/go synced 2024-11-19 01:14:39 -07:00
go/internal/lsp/protocol
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
..
typescript tools/internal/lsp/protocol: generate LSP protocol types from source 2019-03-12 15:15:45 +00:00
doc.go internal/lsp: the core lsp protocol 2018-09-25 15:17:08 +00:00
enums.go internal/lsp: switch completion item tests to using the enum strings 2019-04-17 17:57:43 +00:00
log.go internal/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00
protocol.go internal/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00
span.go internal/lsp: fix swallowed package errors 2019-05-17 18:33:31 +00:00
tsclient.go internal/lsp: respond to shutdown requests and add DO NOT EDITs 2019-05-13 17:21:55 +00:00
tsprotocol.go internal/lsp: respond to shutdown requests and add DO NOT EDITs 2019-05-13 17:21:55 +00:00
tsserver.go internal/lsp: respond to shutdown requests and add DO NOT EDITs 2019-05-13 17:21:55 +00:00