-
Notifications
You must be signed in to change notification settings - Fork 632
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reviewed-by: ppedrot Reviewed-by: herbelin Co-authored-by: ppedrot <ppedrot@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
25 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- **Fixed:** | ||
Apply substitution in Case stack node for cbv reify | ||
(`#18195 <https://github.com/coq/coq/pull/18195>`_, | ||
fixes `#18194 <https://github.com/coq/coq/issues/18194>`_, | ||
by Yann Leray). |
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,19 @@ | ||
Require Import Coq.Program.Tactics. | ||
|
||
Program Definition a := Eval cbv zeta in (fun (a : True) => (?[A] : nat), | ||
let r := | ||
let b := I in match tt with tt => b end | ||
in | ||
?A@{a := r}, | ||
fun (a : True) => (eq_refl : ?A = _)). | ||
|
||
Next Obligation. | ||
destruct a; exact 0. | ||
Defined. | ||
(* This used to fail with the message: | ||
File "test-suite/bugs/bug_18194.v", line 12, characters 0-8: | ||
Error: | ||
Unbound reference: In environment | ||
anonymous' : unit | ||
The reference 3 is free. | ||
*) |