From 6a85fd439ed9051d0ae87fe134d223ccd1bd94ae Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Thu, 14 May 2020 07:24:53 +0200 Subject: Fixes #12322 (anomaly when printing "fun" binders with implicit types). A pattern-matching clause was missing in 5f314036e4d (PR #11261). The anomaly triggered in configurations like "fun (x:T) y => ..." (even in the absence of "Implicit Types"). --- test-suite/output/ImplicitTypes.v | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test-suite/output/ImplicitTypes.v') diff --git a/test-suite/output/ImplicitTypes.v b/test-suite/output/ImplicitTypes.v index dbc83f9229..205c6a67bf 100644 --- a/test-suite/output/ImplicitTypes.v +++ b/test-suite/output/ImplicitTypes.v @@ -23,6 +23,9 @@ Check forall b1 b2, b1 = b2. (* Check in "fun" *) Check fun b => b = b. +Check fun b c => b = c. +Check fun c b => b = c. +Check fun b1 b2 => b1 = b2. (* Check in binders *) Check fix f b n := match n with 0 => b | S p => f b p end. -- cgit v1.2.3