1
0
mirror of https://github.com/golang/go synced 2024-11-18 22:44:48 -07:00
go/internal/lsp/testdata
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
..
analyzer
anon
append
arraytype
bad internal/lsp/source: fix all types in resolveInvalid 2019-12-11 23:00:51 +00:00
badstmt
bar
basiclit
baz
builtins internal/lsp: downrank "nil" completion candidate 2019-12-12 05:12:00 +00:00
casesensitive
cast
cgo internal/lsp/tests: skip cgo tests when not supported 2019-11-25 21:54:41 +00:00
cgoimport internal/lsp: improve link in documentation on hover 2019-12-12 22:39:21 +00:00
channel
circular internal/lsp: add diagnostic on import causing import cycle 2019-12-13 19:54:01 +00:00
comments
complit internal/lsp: add comment completions for exported vars 2019-12-10 22:11:41 +00:00
constant
deep internal/lsp: fix variadic interface completion ranking 2019-11-18 05:14:29 +00:00
errors
fieldlist
folding
foo
format
func_rank
funcsig
funcvalue
fuzzymatch internal/lsp: reorganize and refactor code 2019-11-21 02:33:28 +00:00
generated
godef internal/lsp: improve link in documentation on hover 2019-12-12 22:39:21 +00:00
good
highlights internal/lsp: fix control flow highlighting taking precedence 2019-12-09 20:59:57 +00:00
implementation internal/lsp: trim down implementations code 2019-12-09 20:39:02 +00:00
importedcomplit
imports
index
interfacerank
keywords internal/lsp: suggest "fallthrough" only inside switches 2019-12-10 22:10:49 +00:00
labels
links internal/lsp: link to the new pkg.go.dev instead of godoc.org 2019-11-30 07:06:09 +00:00
maps
nested_complit
nodisk
noparse
noparse_format
rank internal/lsp: fix variadic interface completion ranking 2019-11-18 05:14:29 +00:00
references internal/lsp/source: add support for references in the same workspace 2019-11-14 20:04:27 +00:00
rename internal/lsp/testadata/rename: add a test case for renames across packages 2019-11-14 22:24:11 +00:00
selector
signature
snippets internal/lsp: offer basic type conversion candidates 2019-12-12 22:41:01 +00:00
suggestedfix
symbols
testy
typeassert
types
unimported internal/lsp/source: cap number of unimported completions 2019-12-06 20:21:18 +00:00
unresolved
unsafe
variadic internal/lsp: fix variadic interface completion ranking 2019-11-18 05:14:29 +00:00
summary.txt.golden internal/lsp: add diagnostic on import causing import cycle 2019-12-13 19:54:01 +00:00