mirror of https://github.com/golang/go.git
Diagnostic suppression used the view-relative snapshot ID to avoid publishing stale diagnostics. When the layout of views changes due to a didChangeWorkspaceFolders notification, this suppression is broken as snapshot IDs reset to 0. Fix this (hopefully temporarily) by introducing a globally monotonic snapshot ID. Fixes golang/go#56731 Change-Id: Ib108b1436e800cf5a45fbba298c9975a2cf1d735 Reviewed-on: https://go-review.googlesource.com/c/tools/+/450275 Reviewed-by: Alan Donovan <adonovan@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> Run-TryBot: Robert Findley <rfindley@google.com> Auto-Submit: Robert Findley <rfindley@google.com> |
||
|---|---|---|
| .. | ||
| bench | ||
| codelens | ||
| completion | ||
| debug | ||
| diagnostics | ||
| inlayhints | ||
| misc | ||
| modfile | ||
| template | ||
| watch | ||
| workspace | ||