Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/lsp: clear vuln diagnostics on config changes
Clear vuln diagnostics before diagnosing views, during handling of config changes. This should mostly avoid the symptoms of golang/go#60465, but as noted in the code is not a proper fix. Unfortunately there is no way to write a test for this behavior that is not flaky, because the operation itself is flaky. I have scheduled a proper fix for gopls@v0.12.1. Fixes golang/go#60465 Change-Id: If41f5420c24dfa15a7d83e89988488619a2dd857 Reviewed-on: https://go-review.googlesource.com/c/tools/+/498560 gopls-CI: kokoro <noreply+kokoro@google.com> Run-TryBot: Robert Findley <rfindley@google.com> Reviewed-by: Alan Donovan <adonovan@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
- Loading branch information