-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR coq#18492: Fix caching in Tacred.reference_eval and cache un…
…iv poly Reviewed-by: ppedrot Co-authored-by: ppedrot <[email protected]>
- Loading branch information
Showing
2 changed files
with
86 additions
and
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Definition plus' := plus. | ||
|
||
Definition foo := Eval simpl in plus' 1 2. | ||
|
||
Arguments plus : simpl never. | ||
|
||
Lemma test P : P 3 -> P (plus' 1 2). | ||
Proof. | ||
intros p3. | ||
simpl. | ||
match goal with |- P (plus' 1 2) => idtac end. | ||
(* the order of "Eval simpl" and "Arguments" above resulted in | ||
incorrect cache and the goal was reduced *) | ||
Abort. |