From e9c25b3368a73737553821d2e954383c57698a86 Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Sun, 12 Oct 2014 15:36:17 +0200 Subject: Add support for deactivating type class inference from induction/destruct. --- proofs/clenvtac.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proofs/clenvtac.ml') diff --git a/proofs/clenvtac.ml b/proofs/clenvtac.ml index 99ea2300c..76fc37d37 100644 --- a/proofs/clenvtac.ml +++ b/proofs/clenvtac.ml @@ -82,10 +82,10 @@ open Unification let dft = default_unify_flags -let res_pf ?(with_evars=false) ?(flags=dft ()) clenv = +let res_pf ?(with_evars=false) ?(with_classes=true) ?(flags=dft ()) clenv = Proofview.Goal.enter begin fun gl -> let clenv gl = clenv_unique_resolver ~flags clenv gl in - clenv_refine with_evars (Tacmach.New.of_old clenv (Proofview.Goal.assume gl)) + clenv_refine with_evars ~with_classes (Tacmach.New.of_old clenv (Proofview.Goal.assume gl)) end (* [unifyTerms] et [unify] ne semble pas gérer les Meta, en -- cgit v1.2.3