diff options
Diffstat (limited to 'plugins/funind/recdef.ml')
-rw-r--r-- | plugins/funind/recdef.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/funind/recdef.ml b/plugins/funind/recdef.ml index d5e1ee53a..bea019259 100644 --- a/plugins/funind/recdef.ml +++ b/plugins/funind/recdef.ml @@ -10,6 +10,7 @@ open Term open Namegen open Environ open Declarations +open Declareops open Entries open Pp open Names @@ -68,7 +69,7 @@ let def_of_const t = match (kind_of_term t) with Const sp -> (try (match body_of_constant (Global.lookup_constant sp) with - | Some c -> Declarations.force c + | Some c -> Lazyconstr.force c | _ -> assert false) with _ -> anomaly (str "Cannot find definition of constant " ++ |