From 0aec9033a0b78ee1629f7aabce1c8a2e3cfbe619 Mon Sep 17 00:00:00 2001 From: Matthieu Sozeau Date: Wed, 12 Oct 2016 16:18:02 +0200 Subject: sections/hints: prevent Not_found in get_type_of due to cleared/reverted section variables. This fixes the get_type_of but requires keeping information around about the section hyps available in goals during resolution. It's optimized for the non-section case (should incur no cost there), and the case where no section variables are cleared. --- tactics/auto.mli | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tactics/auto.mli') diff --git a/tactics/auto.mli b/tactics/auto.mli index 5384140c2..ccfb520f1 100644 --- a/tactics/auto.mli +++ b/tactics/auto.mli @@ -15,6 +15,8 @@ open Pattern open Decl_kinds open Hints +val compute_secvars : ('a,'b) Proofview.Goal.t -> Id.Pred.t + val default_search_depth : int ref val auto_flags_of_state : transparent_state -> Unification.unify_flags -- cgit v1.2.3