forked from coq/coq
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Forbid changing typing flags inside sections
Fix coq#14317
- Loading branch information
1 parent
b0005f6
commit d49e003
Showing
4 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
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
6 changes: 3 additions & 3 deletions
6
test-suite/output/bug_14317.v → test-suite/bugs/closed/bug_14317.v
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
Section FooSect. | ||
|
||
Unset Guard Checking. | ||
Fail Unset Guard Checking. | ||
|
||
(* Let bad := fix bad (n:nat) : False := bad n. *) | ||
|
||
Fixpoint loop (n : nat) : nat := loop n. | ||
(* Fixpoint loop (n : nat) : nat := loop n. *) | ||
|
||
(* Set Guard Checking. *) | ||
(* Definition really_bad := bad 0. *) | ||
|
||
End FooSect. | ||
|
||
Print Assumptions loop. | ||
(* Print Assumptions loop. *) | ||
(* Print Assumptions really_bad. TODO *) |
This file was deleted.
Oops, something went wrong.