1
0
mirror of https://github.com/golang/go synced 2024-10-01 16:18:32 -06:00
go/internal/lsp/testdata/circular
Rohan Challa 7ebc6af015 internal/lsp: add diagnostic on import causing import cycle
After the addition of golang/go#35964, the import cycle error now
has the import stack attached in the message. This CL parses that
stack and attached the import cycle diagnostic to the import versus
just adding it to the first character of the .go file.

Fixes golang/go#33085

Change-Id: I6f5f067c338879b898829951236f816aa63d9dfa
Reviewed-on: https://go-review.googlesource.com/c/tools/+/210942
Run-TryBot: Rohan Challa <rohan@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-12-13 19:54:01 +00:00
..
double internal/lsp: add diagnostic on import causing import cycle 2019-12-13 19:54:01 +00:00
triple internal/lsp: add diagnostic on import causing import cycle 2019-12-13 19:54:01 +00:00
self.go internal/lsp: add diagnostic on import causing import cycle 2019-12-13 19:54:01 +00:00