aboutsummaryrefslogtreecommitdiff
path: root/vernac/comAssumption.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-04-23 16:19:43 +0200
committerPierre-Marie Pédrot2018-04-23 16:19:43 +0200
commit5c34cfa54ec1959758baa3dd283e2e30853380db (patch)
treebe7c3a478307fc000f04e55f34e670d4dafcc451 /vernac/comAssumption.ml
parentd8532c76d8e758f95a5dcc36e0c9bc5fd144be16 (diff)
parent79ff2bc044aa86a5ce30f0c24647db8c8e2544fa (diff)
Merge PR #7152: [api] Remove dependency of library on Vernacexpr.
Diffstat (limited to 'vernac/comAssumption.ml')
-rw-r--r--vernac/comAssumption.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/vernac/comAssumption.ml b/vernac/comAssumption.ml
index 6a590758fd..26a46a752e 100644
--- a/vernac/comAssumption.ml
+++ b/vernac/comAssumption.ml
@@ -20,7 +20,6 @@ open Constrintern
open Impargs
open Decl_kinds
open Pretyping
-open Vernacexpr
open Entries
(* 2| Variable/Hypothesis/Parameter/Axiom declarations *)
@@ -66,7 +65,7 @@ match local with
| Global | Local | Discharge ->
let do_instance = should_axiom_into_instance local in
let local = DeclareDef.get_locality ident ~kind:"axiom" local in
- let inl = match nl with
+ let inl = let open Declaremods in match nl with
| NoInline -> None
| DefaultInline -> Some (Flags.get_inline_level())
| InlineAt i -> Some i