From 3bd9cb26be01d0791fdf2dc56d3aacaa1379e50c Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Thu, 1 Jan 2015 09:32:02 +0100 Subject: An optimization in the use of unification candidates so as to get the following working: Definition test {A B:Type} {H:A=B} (a:A) : B := rew H in a. --- test-suite/success/evars.v | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test-suite') diff --git a/test-suite/success/evars.v b/test-suite/success/evars.v index f42c6a036e..4e2bf45118 100644 --- a/test-suite/success/evars.v +++ b/test-suite/success/evars.v @@ -408,3 +408,10 @@ Check match Some _ with None => _ | _ => _ end. (* Used to fail for a couple of days in Nov 2014 *) Axiom test : forall P1 P2, P1 = P2 -> P1 -> P2. + +(* Check use of candidates *) + +Import EqNotations. +Definition test2 {A B:Type} {H:A=B} (a:A) : B := rew H in a. + + -- cgit v1.2.3