aboutsummaryrefslogtreecommitdiff
path: root/plugins/derive
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/derive
parent0cc7e942cd04f7fd28336045e43345b47a48b7a5 (diff)
parent62567575f4639aad44de93a88d9cc425a11d4a9e (diff)
Merge PR #10419: [api] Refactor most of `Decl_kinds`
Reviewed-by: SkySkimmer Ack-by: herbelin
Diffstat (limited to 'plugins/derive')
-rw-r--r--plugins/derive/derive.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/derive/derive.ml b/plugins/derive/derive.ml
index e34150f2b3..ead78f70a1 100644
--- a/plugins/derive/derive.ml
+++ b/plugins/derive/derive.ml
@@ -20,7 +20,7 @@ let start_deriving f suchthat name : Lemmas.t =
let env = Global.env () in
let sigma = Evd.from_env env in
let poly = false in
- let kind = Decl_kinds.(DefinitionBody Definition) in
+ let kind = Decls.(IsDefinition Definition) in
(* create a sort variable for the type of [f] *)
(* spiwack: I don't know what the rigidity flag does, picked the one