From fea52cee63b678dfda766a0a63435c134d28d77c Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Tue, 5 Nov 2019 15:06:23 +0100 Subject: Fix #11048: uncaught destKO in inductive type Reduction.whd_all does not commute with to_constr. --- test-suite/bugs/closed/bug_11048.v | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test-suite/bugs/closed/bug_11048.v (limited to 'test-suite') diff --git a/test-suite/bugs/closed/bug_11048.v b/test-suite/bugs/closed/bug_11048.v new file mode 100644 index 0000000000..d1211587f1 --- /dev/null +++ b/test-suite/bugs/closed/bug_11048.v @@ -0,0 +1,5 @@ + +Inductive foo (HUGE := _) (b : HUGE) A := + bar (X:match _ : HUGE as T return HUGE with T => match (A : T) -> True with _ => T end end) + : foo b A. +(* uncaught destKO *) -- cgit v1.2.3