Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/lsp: fix minor issues in diagnostic caching
There were a few cases that we were missing when caching diagnostics. The first was caching empty diagnostics from the initial workspace load, so we were resending old empty diagnostics. The second missing case was resending diagnostics for the same version of a file. Fixes golang/go#36340. Change-Id: I5c55b47a60fe94b10e76be99714cb983f9b84b54 Reviewed-on: https://go-review.googlesource.com/c/tools/+/213122 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com>
- Loading branch information