Set Warnings
misbehaves in IDEs (with async proofs?)
#13637
Labels
kind: bug
An error, flaw, fault or unintended behaviour.
kind: user messages
Improvement of error messages, new warnings, etc.
needs: triage
The validity of this issue needs to be checked, or the issue itself updated.
part: CoqIDE
Issues and PRs related to CoqIDE or other IDE features of coq.
Description of the problem
Set Warnings
doesn't seem to work correctly with async proofs in VsCoq (and maybe elsewhere) — neither the location nor undoing side effects work correctly. It's hard to describe exactly what happens, but here are partial results from some experiments:Undoing
Set Warnings
by stepping back doesn't undo its side effects correctly. And this snippet gives different results depending on how you step through it:Going step-by-step works correctly. When jumping to the end, you get a warning, seemingly because
Search
is run with the warning enabled.Also, the location of the warning seems sometimes wrong — it's never attached to
Search
, but it seems to the previous statement (even when single-stepping) — preventingundo
from doing its job correctly. The same happens also in:Coq Version
8.12.1
The text was updated successfully, but these errors were encountered: