aboutsummaryrefslogtreecommitdiff
path: root/plugins/setoid_ring
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-07-03 09:54:31 +0200
committerGaëtan Gilbert2019-07-03 09:54:31 +0200
commit73999ad6ba6c33783f27ffc705930cbc5c745728 (patch)
treed2d12c00ef94e941bb3392ef119329f9d44d010b /plugins/setoid_ring
parent0cc7e942cd04f7fd28336045e43345b47a48b7a5 (diff)
parent62567575f4639aad44de93a88d9cc425a11d4a9e (diff)
Merge PR #10419: [api] Refactor most of `Decl_kinds`
Reviewed-by: SkySkimmer Ack-by: herbelin
Diffstat (limited to 'plugins/setoid_ring')
-rw-r--r--plugins/setoid_ring/newring.ml7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/setoid_ring/newring.ml b/plugins/setoid_ring/newring.ml
index 33798c43c8..9973f2ec1d 100644
--- a/plugins/setoid_ring/newring.ml
+++ b/plugins/setoid_ring/newring.ml
@@ -29,7 +29,6 @@ open Tacinterp
open Libobject
open Printer
open Declare
-open Decl_kinds
open Entries
open Newring_ast
open Proofview.Notations
@@ -156,9 +155,9 @@ let decl_constant na univs c =
let () = Declare.declare_universe_context ~poly:false univs in
let types = (Typeops.infer (Global.env ()) c).uj_type in
let univs = Monomorphic_entry Univ.ContextSet.empty in
- mkConst(declare_constant (Id.of_string na)
- (DefinitionEntry (definition_entry ~opaque:true ~types ~univs c),
- IsProof Lemma))
+ mkConst(declare_constant ~name:(Id.of_string na)
+ ~kind:Decls.(IsProof Lemma)
+ (DefinitionEntry (definition_entry ~opaque:true ~types ~univs c)))
(* Calling a global tactic *)
let ltac_call tac (args:glob_tactic_arg list) =