You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
goLanguageServer's languageClient can be a valid language client,
but isn't started yet. So, check if the diagnostic info is
available and if there is any diagnostic for the given file uri
before trying to start deduping.
This addresses the exception thrown when the extension tries to
access the undefined diagnostics.
Another issue is the buildLanguageClient currently creates a non-nill
languageClient object even when the language client doesn't need to
be enabled. But that change is too subtle to be included in
a patch release, so we don't address here.
Fixes#1104
Change-Id: Id923719462b68972a79e3f7c32f54edba7462e46
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/285092
Trust: Hyang-Ah Hana Kim <[email protected]>
Run-TryBot: Hyang-Ah Hana Kim <[email protected]>
TryBot-Result: kokoro <[email protected]>
Reviewed-by: Rebecca Stambler <[email protected]>
(cherry picked from commit 7f56895)
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/285255
0 commit comments