aboutsummaryrefslogtreecommitdiff
path: root/interp
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-01-11 21:40:23 +0100
committerPierre-Marie Pédrot2016-01-14 18:23:32 +0100
commit67b9b34d409c793dc449104525684852353ee064 (patch)
tree50a061e5cbaea7507c226d94d33fdfc5d10bc5ee /interp
parent00e27eac9fe207d754952c1ddb0e12861ee293c9 (diff)
Removing ident and var generic arguments.
Diffstat (limited to 'interp')
-rw-r--r--interp/constrarg.ml8
1 files changed, 6 insertions, 2 deletions
diff --git a/interp/constrarg.ml b/interp/constrarg.ml
index 44623f9c9a..94c13fe796 100644
--- a/interp/constrarg.ml
+++ b/interp/constrarg.ml
@@ -31,9 +31,11 @@ let wit_intro_pattern : (Constrexpr.constr_expr intro_pattern_expr located, glob
let wit_tactic : (raw_tactic_expr, glob_tactic_expr, glob_tactic_expr) genarg_type =
Genarg.make0 None "tactic"
-let wit_ident = unsafe_of_type IdentArgType
+let wit_ident =
+ Genarg.make0 None "ident"
-let wit_var = unsafe_of_type VarArgType
+let wit_var =
+ Genarg.make0 ~dyn:(val_tag (topwit wit_ident)) None "var"
let wit_ref = Genarg.make0 None "ref"
@@ -68,6 +70,8 @@ let wit_clause_dft_concl =
let () =
register_name0 wit_int_or_var "Constrarg.wit_int_or_var";
register_name0 wit_ref "Constrarg.wit_ref";
+ register_name0 wit_ident "Constrarg.wit_ident";
+ register_name0 wit_var "Constrarg.wit_var";
register_name0 wit_intro_pattern "Constrarg.wit_intro_pattern";
register_name0 wit_tactic "Constrarg.wit_tactic";
register_name0 wit_sort "Constrarg.wit_sort";