aboutsummaryrefslogtreecommitdiff
path: root/stm
diff options
context:
space:
mode:
authorMaxime Dénès2020-02-14 10:17:24 +0100
committerMaxime Dénès2020-02-14 10:17:24 +0100
commit90ccf8e413aea57ec670ea26174d3deffb4036aa (patch)
treea9feb10bd07712cbc732dc6d4bf38ad0d56a2a1e /stm
parent2e36df827c85ea93cc7614dc25f82a16f72e6e9d (diff)
parentbc2c1836ba4c878903288060bcb66a0ef1aaced6 (diff)
Merge PR #11584: Add #[uniform] and #[nonuniform] (for Uniform Inductive Parameters)
Reviewed-by: Matafou Reviewed-by: Zimmi48 Reviewed-by: maximedenes
Diffstat (limited to 'stm')
-rw-r--r--stm/vernac_classifier.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/vernac_classifier.ml b/stm/vernac_classifier.ml
index c5b3e0931b..65ef2ca8c6 100644
--- a/stm/vernac_classifier.ml
+++ b/stm/vernac_classifier.ml
@@ -131,7 +131,7 @@ let classify_vernac e =
VtSideff ([id.CAst.v], VtLater)
| VernacDefinition (_,({v=id},_),DefineBody _) -> VtSideff (idents_of_name id, VtLater)
| VernacInductive (_, _,_,l) ->
- let ids = List.map (fun (((_,({v=id},_)),_,_,_,cl),_) -> id :: match cl with
+ let ids = List.map (fun (((_,({v=id},_)),_,_,cl),_) -> id :: match cl with
| Constructors l -> List.map (fun (_,({v=id},_)) -> id) l
| RecordDecl (oid,l) -> (match oid with Some {v=x} -> [x] | _ -> []) @
CList.map_filter (function