aboutsummaryrefslogtreecommitdiff
path: root/plugins/ltac/extratactics.ml4
diff options
context:
space:
mode:
authorMaxime Dénès2018-03-10 10:03:50 +0100
committerMaxime Dénès2018-03-10 10:03:50 +0100
commit93a1c4786c9b17efdda025f754ad97376d61a9ba (patch)
tree9ffa30a21f0d5b80aaeae66955e652f185929498 /plugins/ltac/extratactics.ml4
parent5f989f48eaaf5e13568fce9849f40bc554ca0166 (diff)
parent4af41a12a0e7e6b17d25a71568641bd03d5e1f94 (diff)
Merge PR #6831: [located] More work towards using CAst.t
Diffstat (limited to 'plugins/ltac/extratactics.ml4')
-rw-r--r--plugins/ltac/extratactics.ml42
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ltac/extratactics.ml4 b/plugins/ltac/extratactics.ml4
index 61632e388e..2e90ce90cc 100644
--- a/plugins/ltac/extratactics.ml4
+++ b/plugins/ltac/extratactics.ml4
@@ -264,7 +264,7 @@ let add_rewrite_hint ~poly bases ort t lcsr =
(Declare.declare_universe_context false ctx;
Univ.ContextSet.empty)
in
- Loc.tag ?loc:(Constrexpr_ops.constr_loc ce) ((c, ctx), ort, Option.map (in_gen (rawwit wit_ltac)) t) in
+ CAst.make ?loc:(Constrexpr_ops.constr_loc ce) ((c, ctx), ort, Option.map (in_gen (rawwit wit_ltac)) t) in
let eqs = List.map f lcsr in
let add_hints base = add_rew_rules base eqs in
List.iter add_hints bases