File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -542,6 +542,7 @@ let data_name id rdata =
542
542
module Record_decl = struct
543
543
type t = {
544
544
mie : Entries .mutual_inductive_entry ;
545
+ records : Data .t list ;
545
546
primitive_proj : bool ;
546
547
impls : DeclareInd .one_inductive_impls list ;
547
548
globnames : UState .named_universes_entry ;
@@ -550,7 +551,6 @@ module Record_decl = struct
550
551
ubinders : UnivNames .universe_binders ;
551
552
projections_kind : Decls .definition_object_kind ;
552
553
poly : bool ;
553
- records : Data .t list ;
554
554
}
555
555
end
556
556
Original file line number Diff line number Diff line change @@ -52,9 +52,12 @@ val definition_structure
52
52
}
53
53
end
54
54
55
+ (* * A record is an inductive [mie] with extra metadata in [records] *)
55
56
module Record_decl : sig
56
57
type t = {
57
58
mie : Entries .mutual_inductive_entry ;
59
+ records : Data .t list ;
60
+ (* TODO: this part could be factored in mie *)
58
61
primitive_proj : bool ;
59
62
impls : DeclareInd .one_inductive_impls list ;
60
63
globnames : UState .named_universes_entry ;
@@ -63,7 +66,6 @@ val definition_structure
63
66
ubinders : UnivNames .universe_binders ;
64
67
projections_kind : Decls .definition_object_kind ;
65
68
poly : bool ;
66
- records : Data .t list ;
67
69
}
68
70
end
69
71
You can’t perform that action at this time.
0 commit comments