From: Enrico Tassi Date: Fri, 13 Jun 2008 07:14:30 +0000 (+0000) Subject: print the name not found in the env X-Git-Tag: make_still_working~5034 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=04c4835d193b96b7a01bc725abd9f3282c91a9ed;p=helm.git print the name not found in the env --- diff --git a/helm/software/components/acic_content/termAcicContent.ml b/helm/software/components/acic_content/termAcicContent.ml index 7a4590849..da5aa4960 100644 --- a/helm/software/components/acic_content/termAcicContent.ml +++ b/helm/software/components/acic_content/termAcicContent.ml @@ -309,7 +309,11 @@ let add_idrefs = let instantiate32 term_info idrefs env symbol args = let rec instantiate_arg = function | Ast.IdentArg (n, name) -> - let t = (try List.assoc name env with Not_found -> assert false) in + let t = + try List.assoc name env + with Not_found -> prerr_endline ("name not found in env: "^name); + assert false + in let rec count_lambda = function | Ast.AttributedTerm (_, t) -> count_lambda t | Ast.Binder (`Lambda, _, body) -> 1 + count_lambda body