simpl
tactic isn't interrupted properly
#487
Labels
kind: bug
Something isn't working
kind: internal
kind: performance
kind: upstream
part: lsp server
part: ocaml
Milestone
Describe the bug
For large or complex contexts, the
simpl
command can hang for a long time (indefinitely?) and isn't interruptible from coq-lsp.To Reproduce
Since this requires complex contexts to reproduce, we'll reproduce it using CompCert.
Steps to reproduce the behavior:
git clone [email protected]:AbsInt/CompCert.git
initialize
message, with the rootUri, rootPath, and workspace uri pointing to the toplevel of your CompCert clone.initalized
message.openDoc
message with an empty document.didChange
message with the following document:didChange
message with the following document:(this is just replacing the final failing tactic with "idtac".
Expected behavior
coq-lsp should interrupt the original didChange request and respond to the new one.
This expected behavior is described by Emilio here: https://coq.zulipchat.com/#narrow/stream/329642-coq-lsp/topic/Interrupting.20coq-lsp/near/350040107
Desktop:
The text was updated successfully, but these errors were encountered: