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 [email protected]. Fixes golang/go#60465 Change-Id: If41f5420c24dfa15a7d83e89988488619a2dd857 Reviewed-on: https://go-review.googlesource.com/c/tools/+/498560 gopls-CI: kokoro <[email protected]> Run-TryBot: Robert Findley <[email protected]> Reviewed-by: Alan Donovan <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
- Loading branch information