mirror of
https://github.com/golang/go
synced 2024-11-05 16:56:16 -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> |
||
---|---|---|
.. | ||
client.go | ||
doc.go | ||
edit_test.go | ||
edit.go | ||
editor_test.go | ||
editor.go | ||
workspace_test.go | ||
workspace.go |