From f00f8482e1d21ef8b03044ed2162cb29d9e4537d Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Mon, 20 Oct 2014 09:39:28 +0200 Subject: Fixing a bug in the presence of let-in in inductive arity. --- test-suite/success/Case22.v | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test-suite/success/Case22.v (limited to 'test-suite') diff --git a/test-suite/success/Case22.v b/test-suite/success/Case22.v new file mode 100644 index 0000000000..4eb2dbe9f5 --- /dev/null +++ b/test-suite/success/Case22.v @@ -0,0 +1,7 @@ +(* Check typing in the presence of let-in in inductive arity *) + +Inductive I : let a := 1 in a=a -> let b := 2 in Type := C : I (eq_refl). +Lemma a : forall x:I eq_refl, match x in I a b c return b = b with C => eq_refl end = eq_refl. +intro. +match goal with |- ?c => let x := eval cbv in c in change x end. +Abort. -- cgit v1.2.3