зеркало из https://github.com/golang/tools.git
ed19fc789a
It turns out that in the jsonrcp2 package, call responses are asynchronous to other notifications. Therefore, we must synchronize tests using progress notifications. Introduce a DelayMessages test option to reproduce these types of races. (It worked for reproducing golang/go#70342.) Fixes golang/go#70342 Change-Id: I4cfcd7675335694a47eaf1a2547be0301fc244c9 Reviewed-on: https://go-review.googlesource.com/c/tools/+/627696 Reviewed-by: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> |
||
---|---|---|
.. | ||
assets | ||
call_hierarchy.go | ||
code_action.go | ||
code_lens.go | ||
command.go | ||
completion.go | ||
counters.go | ||
debug.go | ||
definition.go | ||
diagnostics.go | ||
folding_range.go | ||
format.go | ||
general.go | ||
highlight.go | ||
hover.go | ||
implementation.go | ||
inlay_hint.go | ||
link.go | ||
prompt.go | ||
prompt_test.go | ||
references.go | ||
rename.go | ||
selection_range.go | ||
semantic.go | ||
server.go | ||
signature_help.go | ||
symbols.go | ||
text_synchronization.go | ||
unimplemented.go | ||
workspace.go | ||
workspace_symbol.go |