aboutsummaryrefslogtreecommitdiff
path: root/stm
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-06-06 17:28:26 +0200
committerEmilio Jesus Gallego Arias2019-06-24 20:55:09 +0200
commitda5bbda84bd22b87a6057175c9d4d2391808e294 (patch)
treec65591866875814ca83d99d28330d59dd4518452 /stm
parent9d65c49f05f946557df4c67b6e752f978e1e9352 (diff)
[api] [proof] Move `discharge` type to vernac_ast where it is used.
This seems like the right location, a bit more refactoring should be possible.
Diffstat (limited to 'stm')
-rw-r--r--stm/vernac_classifier.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/stm/vernac_classifier.ml b/stm/vernac_classifier.ml
index 4e7f6a0ac6..aaba36287a 100644
--- a/stm/vernac_classifier.ml
+++ b/stm/vernac_classifier.ml
@@ -87,7 +87,7 @@ let classify_vernac e =
VtProofStep { parallel = `No;
proof_block_detection = Some "curly" }
(* StartProof *)
- | VernacDefinition ((Decl_kinds.DoDischarge,_),({v=i},_),ProveBody _) ->
+ | VernacDefinition ((DoDischarge,_),({v=i},_),ProveBody _) ->
VtStartProof(Doesn'tGuaranteeOpacity, idents_of_name i)
| VernacDefinition (_,({v=i},_),ProveBody _) ->
@@ -102,7 +102,7 @@ let classify_vernac e =
| VernacFixpoint (discharge,l) ->
let polymorphic = Attributes.(parse_drop_extra polymorphic atts) in
let guarantee =
- if discharge = Decl_kinds.DoDischarge || polymorphic then Doesn'tGuaranteeOpacity
+ if discharge = DoDischarge || polymorphic then Doesn'tGuaranteeOpacity
else GuaranteesOpacity
in
let ids, open_proof =
@@ -114,7 +114,7 @@ let classify_vernac e =
| VernacCoFixpoint (discharge,l) ->
let polymorphic = Attributes.(parse_drop_extra polymorphic atts) in
let guarantee =
- if discharge = Decl_kinds.DoDischarge || polymorphic then Doesn'tGuaranteeOpacity
+ if discharge = DoDischarge || polymorphic then Doesn'tGuaranteeOpacity
else GuaranteesOpacity
in
let ids, open_proof =