aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs/pfedit.ml
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2014-11-20 20:33:27 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2014-11-20 20:33:27 +0100
commit12c61c7ab522ea58bf8c5692de7130e124a2cc0a (patch)
tree6a58fba73892d1f300c058326ff069e938fccf10 /proofs/pfedit.ml
parent579770c44251f2b8d01ecc6252810ec80da374f5 (diff)
Exporting the function handling side-effects only applied to terms.
Diffstat (limited to 'proofs/pfedit.ml')
-rw-r--r--proofs/pfedit.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/proofs/pfedit.ml b/proofs/pfedit.ml
index 09d94a9ce..8e0f3accb 100644
--- a/proofs/pfedit.ml
+++ b/proofs/pfedit.ml
@@ -149,7 +149,7 @@ let build_by_tactic env ctx ?(poly=false) typ tac =
let sign = val_of_named_context (named_context env) in
let gk = Global, poly, Proof Theorem in
let ce, status, univs = build_constant_by_tactic id ctx sign ~goal_kind:gk typ tac in
- let ce = Term_typing.handle_side_effects env ce in
+ let ce = Term_typing.handle_entry_side_effects env ce in
let (cb, ctx), se = Future.force ce.const_entry_body in
assert(Declareops.side_effects_is_empty se);
assert(Univ.ContextSet.is_empty ctx);