diff options
| author | Maxime Dénès | 2019-05-10 12:32:07 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2019-05-13 11:40:24 +0200 |
| commit | cf9f4e566b87d2875f757bb7d54ee4421988e315 (patch) | |
| tree | d6264d1a107537c9c80f6f1a991f235112c5d086 /test-suite | |
| parent | fe75c2ab9400a83b18fa73e95d4c24a79f88c97d (diff) | |
Make detyping robust w.r.t. indexed anonymous variables
I don't think there's a reason to treat such variables more severely
than unbound variables. This anomaly is often raised by debug printers
(e.g. when studying complex scenarios using `Set Unification Debug`),
and so makes debugging less convenient.
Fixes #3754, fixes #10026.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/bug_10026.v | 3 | ||||
| -rw-r--r-- | test-suite/bugs/closed/bug_3754.v (renamed from test-suite/bugs/opened/bug_3754.v) | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test-suite/bugs/closed/bug_10026.v b/test-suite/bugs/closed/bug_10026.v new file mode 100644 index 0000000000..0d3142d0f2 --- /dev/null +++ b/test-suite/bugs/closed/bug_10026.v @@ -0,0 +1,3 @@ +Require Import Coq.Lists.List. +Set Debug RAKAM. +Check fun _ => fold_right (fun A B => prod A B) unit _. diff --git a/test-suite/bugs/opened/bug_3754.v b/test-suite/bugs/closed/bug_3754.v index 18820b1a4c..7031cbf132 100644 --- a/test-suite/bugs/opened/bug_3754.v +++ b/test-suite/bugs/closed/bug_3754.v @@ -281,5 +281,7 @@ Defined. (factor2 fact)). rewrite <- ap_p_pp; rewrite_moveL_Mp_p. Set Debug Tactic Unification. - Fail rewrite (concat_Ap ff2). + rewrite (concat_Ap ff2). Abort. + +End Factorization. |
