aboutsummaryrefslogtreecommitdiff
path: root/tactics
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-11-24 18:18:17 +0100
committerPierre-Marie Pédrot2017-02-14 17:30:38 +0100
commit05afd04095e35d77ca135bd2c1cb8d303ea2d6a8 (patch)
treeae729d05933776d718905029f0a87722716ec57f /tactics
parent531590c223af42c07a93142ab0cea470a98964e6 (diff)
Ltac now uses evar-based constrs.
Diffstat (limited to 'tactics')
-rw-r--r--tactics/auto.ml2
-rw-r--r--tactics/tactics.ml4
2 files changed, 3 insertions, 3 deletions
diff --git a/tactics/auto.ml b/tactics/auto.ml
index 4218be0bbd..b548f8b928 100644
--- a/tactics/auto.ml
+++ b/tactics/auto.ml
@@ -152,7 +152,7 @@ let conclPattern concl pat tac =
let open Genarg in
let open Geninterp in
let inj c = match val_tag (topwit Stdarg.wit_constr) with
- | Val.Base tag -> Val.Dyn (tag, EConstr.Unsafe.to_constr c)
+ | Val.Base tag -> Val.Dyn (tag, c)
| _ -> assert false
in
let fold id c accu = Id.Map.add id (inj c) accu in
diff --git a/tactics/tactics.ml b/tactics/tactics.ml
index 574f1c6f3c..4e833eb556 100644
--- a/tactics/tactics.ml
+++ b/tactics/tactics.ml
@@ -51,7 +51,7 @@ open Context.Named.Declaration
module RelDecl = Context.Rel.Declaration
module NamedDecl = Context.Named.Declaration
-let inj_with_occurrences e = (AllOccurrences,EConstr.Unsafe.to_constr e)
+let inj_with_occurrences e = (AllOccurrences,e)
let dloc = Loc.ghost
@@ -922,7 +922,7 @@ let reduction_clause redexp cl =
let reduce redexp cl =
let trace () =
let open Printer in
- let pr = (pr_constr, pr_lconstr, pr_evaluable_reference, pr_constr_pattern) in
+ let pr = (pr_econstr, pr_leconstr, pr_evaluable_reference, pr_constr_pattern) in
Pp.(hov 2 (Pputils.pr_red_expr pr str redexp))
in
Proofview.Trace.name_tactic trace begin