From 52247f50fa9aed83cc4a9a714b6b8f779479fd9b Mon Sep 17 00:00:00 2001 From: Arnaud Spiwack Date: Tue, 29 Jul 2014 12:20:54 +0200 Subject: Add a type of untyped term to Ltac's value. It is meant to avoid intermediary retyping when a term is built in Ltac. See #3218. The implementation makes a small modification in Constrintern: now the main internalisation function can take an extra substitution from Ltac variables to glob_constr and will apply the substitution during the internalisation. --- printing/pptactic.ml | 1 + 1 file changed, 1 insertion(+) (limited to 'printing') diff --git a/printing/pptactic.ml b/printing/pptactic.ml index 381534d6da..7fc214304f 100644 --- a/printing/pptactic.ml +++ b/printing/pptactic.ml @@ -938,6 +938,7 @@ and pr_tacarg = function | MetaIdArg (loc,false,s) -> pr_with_comments loc (str ("constr: $" ^ s)) | Reference r -> pr_ref r | ConstrMayEval c -> pr_may_eval pr_constr pr_lconstr pr_cst pr_pat c + | UConstr c -> str"uconstr:" ++ pr_constr c | TacFreshId l -> str "fresh" ++ pr_fresh_ids l | TacExternal (_,com,req,la) -> str "external" ++ spc() ++ qs com ++ spc() ++ qs req ++ -- cgit v1.2.3