aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs
diff options
context:
space:
mode:
authorMatthieu Sozeau2014-06-15 14:15:30 +0200
committerMatthieu Sozeau2014-06-15 14:15:30 +0200
commita0141c0ccc295af0d7938e8e515c9eef40449d73 (patch)
tree45b9b4432cf8b342e6578efca2cadd9d25b1d1d8 /test-suite/bugs
parent0082e3c26ede3f1cabc3237f82be15d013817385 (diff)
Change Ltac constr matching semantics to consider universes when merging two
bindings of the same variable (fixing HoTT bug #52). Document the unification of universes in Ltac/tactics.
Diffstat (limited to 'test-suite/bugs')
-rw-r--r--test-suite/bugs/closed/HoTT_coq_052.v (renamed from test-suite/bugs/opened/HoTT_coq_052.v)9
1 files changed, 5 insertions, 4 deletions
diff --git a/test-suite/bugs/opened/HoTT_coq_052.v b/test-suite/bugs/closed/HoTT_coq_052.v
index 886dbad9ef..3fc663c6be 100644
--- a/test-suite/bugs/opened/HoTT_coq_052.v
+++ b/test-suite/bugs/closed/HoTT_coq_052.v
@@ -1,22 +1,23 @@
Goal Type = Type.
- match goal with |- ?x = ?x => idtac end.
+ match goal with |- ?x = ?y => idtac end.
Abort.
Goal Prop.
Fail match goal with |- Type => idtac end.
Abort.
+
Goal Prop = Set.
(* This should fail *)
- Fail Fail match goal with |- ?x = ?x => idtac end.
+ Fail match goal with |- ?x = ?x => idtac x end.
Abort.
Goal Type = Prop.
(* This should fail *)
- Fail Fail match goal with |- ?x = ?x => idtac end.
+ Fail match goal with |- ?x = ?x => idtac end.
Abort.
Goal Type = Set.
(* This should fail *)
- Fail Fail match goal with |- ?x = ?x => idtac end.
+ Fail match goal with |- ?x = ?x => idtac end.
Abort.