Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make focus command and goal selection for query commands independent …
…of ltac1 Fix #18351
- Loading branch information
1 parent
f1e9816
commit dc8dfbf
Showing
4 changed files
with
60 additions
and
48 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
doc/changelog/08-vernac-commands-and-options/18707-vernac-focus.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- **Changed:** | ||
focus commands such as `1:{` and goal selection for query commands such as `1: Check` | ||
do not need `Classic` (Ltac1) proof mode to function. In particular they function in Ltac2 mode | ||
(`#18707 <https://github.com/coq/coq/pull/18707>`_, | ||
fixes `#18351 <https://github.com/coq/coq/issues/18351>`_, | ||
by Gaëtan Gilbert). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Require Import Ltac2.Ltac2. | ||
|
||
Set Default Goal Selector "!". | ||
|
||
Goal True /\ True. | ||
split. | ||
Fail exact I. (* not focused *) | ||
1:{ exact I. } | ||
exact I. | ||
Qed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters