mirror of
https://github.com/golang/go
synced 2024-11-18 10:04:43 -07:00
6a72e3782c
While trying to be pragmatic, I simply locked the fake.Editor while calling textDocument/formatting. This did indeed manifest later on as a deadlock, so instead we release the lock but fail if the buffer version changes while awaiting the formatting call. Change-Id: I0ca24a502f3118e76de306a016449bbe665e70e4 Reviewed-on: https://go-review.googlesource.com/c/tools/+/228230 Run-TryBot: Robert Findley <rfindley@google.com> Reviewed-by: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
analysisinternal | ||
apidiff | ||
fastwalk | ||
gocommand | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
packagesinternal | ||
proxydir | ||
span | ||
telemetry | ||
testenv | ||
tool | ||
xcontext |