aboutsummaryrefslogtreecommitdiff
path: root/plugins/funind
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-05-03 17:30:13 +0200
committerEmilio Jesus Gallego Arias2020-05-03 17:30:13 +0200
commit223d0ad62896ce3a8831488acec133561cc9244b (patch)
tree35c3df149b9e2581b9465fa3c72d2eb9cab78f02 /plugins/funind
parenteab9f3bd104f154c128955ff344eb671d0e2ec93 (diff)
[declare] Add deprecation notices for compat modules.
We will remove this modules and submit the overlays once the refactoring is done as to avoid churn.
Diffstat (limited to 'plugins/funind')
-rw-r--r--plugins/funind/gen_principle.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/funind/gen_principle.ml b/plugins/funind/gen_principle.ml
index 131a6a6e61..07f578d2a8 100644
--- a/plugins/funind/gen_principle.ml
+++ b/plugins/funind/gen_principle.ml
@@ -2199,7 +2199,7 @@ let build_scheme fas =
List.iter2
(fun (princ_id, _, _) (body, types, univs, opaque) ->
let (_ : Constant.t) =
- let opaque = if opaque = Proof_global.Opaque then true else false in
+ let opaque = if opaque = Declare.Opaque then true else false in
let def_entry = Declare.definition_entry ~univs ~opaque ?types body in
Declare.declare_constant ~name:princ_id
~kind:Decls.(IsProof Theorem)