aboutsummaryrefslogtreecommitdiff
path: root/contrib/extraction
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/extraction')
-rw-r--r--contrib/extraction/extraction.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/extraction/extraction.ml b/contrib/extraction/extraction.ml
index e1848589d6..4888c8fefb 100644
--- a/contrib/extraction/extraction.ml
+++ b/contrib/extraction/extraction.ml
@@ -671,12 +671,12 @@ let extract_constant kn r =
| (Info, Arity) ->
let s,vl = type_sign_vl env typ in
let db = db_from_sign s in
- let body = Lazy.force_val l_body in
+ let body = Declarations.force l_body in
let t = extract_type_arity env db body (List.length s)
in Dtype (r, vl, t)
| (Logic, _) -> Dterm (r, MLdummy')
| (Info, _) ->
- let body = Lazy.force_val l_body in
+ let body = Declarations.force l_body in
let a = extract_term env body in
if a <> MLdummy' then
Dterm (r, kill_prop_lams_eta a (signature_of_kn kn))