aboutsummaryrefslogtreecommitdiff
path: root/kernel/mod_subst.ml
diff options
context:
space:
mode:
authorMaxime Dénès2017-11-13 17:13:44 +0100
committerMaxime Dénès2017-11-13 17:13:44 +0100
commit8d176db01baf9fb4a5e07decb9500ef4a8717e93 (patch)
tree675b02e411ff2c56a9aff39f4956a055eac254a7 /kernel/mod_subst.ml
parent29a7307ea7cd36408661ba633a235793f11dca84 (diff)
parent03e21974a3e971a294533bffb81877dc1bd270b6 (diff)
Merge PR #6098: [api] Move structures deprecated in the API to the core.
Diffstat (limited to 'kernel/mod_subst.ml')
-rw-r--r--kernel/mod_subst.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/mod_subst.ml b/kernel/mod_subst.ml
index 1793e4f715..2c8ef477fc 100644
--- a/kernel/mod_subst.ml
+++ b/kernel/mod_subst.ml
@@ -16,7 +16,7 @@
open Pp
open Util
open Names
-open Term
+open Constr
(* For Inline, the int is an inlining level, and the constr (if present)
is the term into which we should inline. *)
@@ -340,7 +340,7 @@ let subst_evaluable_reference subst = function
let rec map_kn f f' c =
let func = map_kn f f' in
- match kind_of_term c with
+ match kind c with
| Const kn -> (try snd (f' kn) with No_subst -> c)
| Proj (p,t) ->
let p' =