aboutsummaryrefslogtreecommitdiff
path: root/plugins/funind/indfun.ml
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-05-13 20:06:06 +0200
committerGaëtan Gilbert2019-05-21 12:59:01 +0200
commitb7e4a0dd032889422a0057162c66e39f2d0187a5 (patch)
treed5f47e2bcdf1a75fbe6dac0bc9ace617a236281e /plugins/funind/indfun.ml
parent02d6f5660d54fcf4dfc9cff36cbda41dca3f601f (diff)
Remove definition-not-visible warning
This lets us avoid passing ~ontop to do_definition and co, and after #10050 to even more functions.
Diffstat (limited to 'plugins/funind/indfun.ml')
-rw-r--r--plugins/funind/indfun.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/funind/indfun.ml b/plugins/funind/indfun.ml
index 6494e90a03..ce7d149ae1 100644
--- a/plugins/funind/indfun.ml
+++ b/plugins/funind/indfun.ml
@@ -414,7 +414,7 @@ let register_struct ~pstate is_rec (fixpoint_exprl:(Vernacexpr.fixpoint_expr * V
match fixpoint_exprl with
| [(({CAst.v=fname},pl),_,bl,ret_type,body),_] when not is_rec ->
let body = match body with | Some body -> body | None -> user_err ~hdr:"Function" (str "Body of Function must be given") in
- ComDefinition.do_definition ~ontop:pstate
+ ComDefinition.do_definition
~program_mode:false
fname
(Decl_kinds.Global,false,Decl_kinds.Definition) pl