1
0
mirror of https://github.com/golang/go synced 2024-11-18 22:55:23 -07:00
go/internal
Rebecca Stambler d997db1b28 internal/lsp: return errors from diagnostics
Also, we were repeating the same code for diagnostics in 4 places.
Extract into a function.

Change-Id: I18d00e512a67679b915347a61126970cf02a7a4a
Reviewed-on: https://go-review.googlesource.com/c/tools/+/196019
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-09-17 21:08:37 +00:00
..
apidiff all: fix more typos 2019-09-11 15:13:14 +00:00
fastwalk
gopathwalk internal/imports: skip scanned module cache dirs 2019-08-29 21:03:13 +00:00
imports all: fix more typos 2019-09-11 15:13:14 +00:00
jsonrpc2 all: fix more typos 2019-09-11 15:13:14 +00:00
lsp internal/lsp: return errors from diagnostics 2019-09-17 21:08:37 +00:00
memoize internal/memoize: changes to only one handle per key 2019-09-17 14:40:27 +00:00
module
semver
span internal/span: handle escaping file URIs 2019-09-16 17:14:20 +00:00
telemetry all: fix more typos 2019-09-11 15:13:14 +00:00
testenv internal/testenv: handle GOPACKAGESDRIVER=off in NeedsGopackage 2019-09-12 15:29:09 +00:00
tool
txtar
xcontext internal/lsp: stop making background contexts everywhere 2019-07-11 16:38:52 +00:00