mirror of https://github.com/golang/go.git
Gopls doesn't send empty diagnostics for open files in some cases (likely a race to context cancellation). This is probably a bug itself, but for now don't let this cause TestResolveImportCycle to fail. Added a TODO to investigate further. Fixes golang/go#46773 Change-Id: I197d9b09885951b47b3f90a0480ae75679d2a1a0 Reviewed-on: https://go-review.googlesource.com/c/tools/+/333289 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
|---|---|---|
| .. | ||
| builtin_test.go | ||
| diagnostics_test.go | ||