diff options
| author | Vincent Laporte | 2019-05-07 08:07:34 +0000 |
|---|---|---|
| committer | Vincent Laporte | 2019-05-07 08:12:48 +0000 |
| commit | a7f678c2209bbe56b18ed3cdf1306fed161d7b07 (patch) | |
| tree | dce5ea5a676ac2e875edf4114bb92785078ac4fd /stm | |
| parent | e6383e516036a15bccdbc2b125019a40181c6028 (diff) | |
[Record] Une a record to gather field declaration attributes
Diffstat (limited to 'stm')
| -rw-r--r-- | stm/vernac_classifier.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/vernac_classifier.ml b/stm/vernac_classifier.ml index 674b4285d2..4a4c5c94e9 100644 --- a/stm/vernac_classifier.ml +++ b/stm/vernac_classifier.ml @@ -137,7 +137,7 @@ let classify_vernac e = | Constructors l -> List.map (fun (_,({v=id},_)) -> id) l | RecordDecl (oid,l) -> (match oid with Some {v=x} -> [x] | _ -> []) @ CList.map_filter (function - | ((_,AssumExpr({v=Names.Name n},_)),_),_ -> Some n + | AssumExpr({v=Names.Name n},_), _ -> Some n | _ -> None) l) l in VtSideff (List.flatten ids), VtLater | VernacScheme l -> |
