From 1e80f730590ba309b6eb1ae26832984fa7357761 Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Sun, 10 May 2020 21:48:34 +0200 Subject: Fixes #12233 (wrong printing env in presence of match branches eta-expansion). At the same time, we propagate the correct binder relevance in detyping. Note that this would be fixed by enforcing the context of branches in the syntax of "Case". --- test-suite/bugs/closed/bug_12233.v | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test-suite/bugs/closed/bug_12233.v (limited to 'test-suite') diff --git a/test-suite/bugs/closed/bug_12233.v b/test-suite/bugs/closed/bug_12233.v new file mode 100644 index 0000000000..3cbf084594 --- /dev/null +++ b/test-suite/bugs/closed/bug_12233.v @@ -0,0 +1,5 @@ +Theorem thm (A:Prop) (H:exists m:nat, True) : True. +destruct H as ([|],?). +assert A. +Show Proof. (* was raising Not_found since 8.7 *) +Abort. -- cgit v1.2.3