aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2015-12-17 19:24:17 +0100
committerPierre-Marie Pédrot2015-12-21 19:36:38 +0100
commitb2beb9087628de23679a831e6273b91816f1ed27 (patch)
tree40784a3be039885aef29c3c23fda2a0189fe2ac1 /dev
parentfcf425a4714f0c888b3d670a9a37fe52a6e49bc5 (diff)
Using dynamic values in tactic evaluation.
Diffstat (limited to 'dev')
-rw-r--r--dev/top_printers.ml12
1 files changed, 7 insertions, 5 deletions
diff --git a/dev/top_printers.ml b/dev/top_printers.ml
index 0e90026122..20c8f690bd 100644
--- a/dev/top_printers.ml
+++ b/dev/top_printers.ml
@@ -467,11 +467,13 @@ let pp_generic_argument arg =
pp(str"<genarg:"++pr_argument_type(genarg_tag arg)++str">")
let prgenarginfo arg =
- let tpe = pr_argument_type (genarg_tag arg) in
- try
- let data = Pptactic.pr_top_generic (Global.env ()) arg in
- str "<genarg:" ++ tpe ++ str " := [ " ++ data ++ str " ] >"
- with _any ->
+ let Val.Dyn (tag, _) = arg in
+ let tpe = str (Val.repr tag) in
+ (** FIXME *)
+(* try *)
+(* let data = Pptactic.pr_top_generic (Global.env ()) arg in *)
+(* str "<genarg:" ++ tpe ++ str " := [ " ++ data ++ str " ] >" *)
+(* with _any -> *)
str "<genarg:" ++ tpe ++ str ">"
let ppgenarginfo arg = pp (prgenarginfo arg)