From 8c6092e8c43a74a8a175a532580284124c06e34f Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Sun, 22 Oct 2017 23:50:11 +0200 Subject: Adding support for syntax "let _ := e in e'" in Ltac. Adding a file fixing #5996 and which uses this feature. --- test-suite/bugs/5996.v | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test-suite/bugs/5996.v (limited to 'test-suite') diff --git a/test-suite/bugs/5996.v b/test-suite/bugs/5996.v new file mode 100644 index 0000000000..c9e3292b48 --- /dev/null +++ b/test-suite/bugs/5996.v @@ -0,0 +1,8 @@ +Goal Type. + let c := constr:(prod nat nat) in + let c' := (eval pattern nat in c) in + let c' := lazymatch c' with ?f _ => f end in + let c'' := lazymatch c' with fun x : Set => ?f => constr:(forall x : Type, f) end in + let _ := type of c'' in + exact c''. +Defined. -- cgit v1.2.3