Open vfukala opened 9 months ago
Similarly, when I just open this file:
Require Import LiveVerif.LiveVerifLib. *)
"
Qed.
Derive f SuchThat (fun_correct! f) As f_ok.
{
}
Qed.
, I immediately get this crash:
[top , 1789779, 1703457267.091113] Main loop event ready: ExecuteToLoc 7 (1 tasks left, started 0.136 ago) , 3 events waiting
[top , 1789779, 1703457267.091123] ==========================================================
[top , 1789779, 1703457267.091146] Unknown variable: f.
Raised at Exninfo.iraise in file "clib/exninfo.ml", line 79, characters 4-11
Called from Stdlib__Set.Make.iter in file "set.ml", line 378, characters 35-38
Called from Dm__ExecutionManager.interp_qed_delayed.f in file "dm/executionManager.ml", line 194, characters 6-256
Called from Dm__ExecutionManager.interp_qed_delayed in file "dm/executionManager.ml", line 206, characters 22-63
Called from Dm__ExecutionManager.execute in file "dm/executionManager.ml", line 422, characters 38-100
Called from Dm__DocumentManager.handle_event in file "dm/documentManager.ml", line 308, characters 6-85
Called from Dune__exe__LspManager.handle_event in file "vscoqtop/lspManager.ml", line 562, characters 26-62
Called from Dune__exe__Vscoqtop.loop.loop in file "vscoqtop/vscoqtop.ml", line 28, characters 21-50
Called from Dune__exe__Vscoqtop.loop in file "vscoqtop/vscoqtop.ml", line 33, characters 6-15
[top , 1789779, 1703457267.091149] ==========================================================
[Error - 5:34:27 PM] Connection to server got closed. Server will not be restarted.
Same settings as before.
I also get similar errors for some larger files which are actually useful and can be successfully checked with proof delegation disabled. What I posted are just (close to) minimal examples.
If I have the
Proof:Delegation
setting set toDelegate proofs
and I quickly edit theH_edit_me
name (e.g. by holding down a key) in the following file..., I get an output from the Coq Language Server like
and VSCode tells me
Then I have to restart VSCode to get the language server running again.
This doesn't happen with
Proof:Delegation
set toNo delegation
.edit: After setting
, I managed to fish out
out of the language server output. The name of the file I'm editing is
test.v
.