You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Report the proof state when an error occurs during a proof
When a command fails while a proof is in progress, the error now
carries the proof state, printed after the error message (as the
err_desc of Fatal):
- a tactic failure reports the state the tactic was applied to;
- a subproof-count mismatch reports the state before and after the
tactic (previously the goals were embedded in the message itself,
and one of the four cases did not show them at all);
- `end` on an unfinished proof reports the remaining goals
(previously embedded in the message).
Error messages themselves are unchanged and stay on the first line,
printed in red; the proof state follows uncolored. The LSP server does
not attach the state to tactic failures since editors display the
proof state themselves.
Copy file name to clipboardExpand all lines: CHANGES.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
33
33
- LSP server: position of the error is removed from diagnostics when the error occurs in the file currently open in the editor.
34
34
- Syntax of search query is modified as follows : `in` is used instead of `|` (filtering). `with` is used instead of `,` (conjunction). `|` is used instead of `;` (disjunction).
35
35
- Type of `#assume` in order to generate a new symbol and use it inside a tactic term.
36
+
- Errors occurring while a proof is in progress now report the proof state: the goals a failing tactic was applied to, the goals before and after the tactic for a subproof-count mismatch, and the remaining goals when a proof is unfinished at `end`. The state is printed after the error message, which stays unchanged. The LSP server does not attach the proof state to tactic failures since editors display it themselves.
0 commit comments