@@ -1073,8 +1073,8 @@ struct
1073
1073
| _ -> ()
1074
1074
end
1075
1075
1076
- let forStructureItems ~(file : File.t ) ( items : Typedtree.structure_item list )
1077
- parts =
1076
+ let extraForStructureItems ~(file : File.t )
1077
+ ( items : Typedtree.structure_item list ) parts =
1078
1078
let extra = extraForFile ~file in
1079
1079
let extent = itemsExtent items in
1080
1080
let extent =
@@ -1110,8 +1110,8 @@ let forStructureItems ~(file : File.t) (items : Typedtree.structure_item list)
1110
1110
| Partial_structure _ | Partial_structure_item _ -> () );
1111
1111
extra
1112
1112
1113
- let forSignatureItems ~(file : File.t ) ( items : Typedtree.signature_item list )
1114
- parts =
1113
+ let extraForSignatureItems ~(file : File.t )
1114
+ ( items : Typedtree.signature_item list ) parts =
1115
1115
let extra = extraForFile ~file in
1116
1116
let extent = sigItemsExtent items in
1117
1117
let extent =
@@ -1149,7 +1149,8 @@ let forSignatureItems ~(file : File.t) (items : Typedtree.signature_item list)
1149
1149
1150
1150
let extraForCmt ~file ({cmt_annots} : Cmt_format.cmt_infos ) =
1151
1151
match cmt_annots with
1152
- | Implementation structure -> forStructureItems ~file structure.str_items [||]
1152
+ | Implementation structure ->
1153
+ extraForStructureItems ~file structure.str_items [||]
1153
1154
| Partial_implementation parts ->
1154
1155
let items =
1155
1156
parts |> Array. to_list
@@ -1161,8 +1162,8 @@ let extraForCmt ~file ({cmt_annots} : Cmt_format.cmt_infos) =
1161
1162
| _ -> None )
1162
1163
|> List. concat
1163
1164
in
1164
- forStructureItems ~file items parts
1165
- | Interface signature -> forSignatureItems ~file signature.sig_items [||]
1165
+ extraForStructureItems ~file items parts
1166
+ | Interface signature -> extraForSignatureItems ~file signature.sig_items [||]
1166
1167
| Partial_interface parts ->
1167
1168
let items =
1168
1169
parts |> Array. to_list
@@ -1173,8 +1174,8 @@ let extraForCmt ~file ({cmt_annots} : Cmt_format.cmt_infos) =
1173
1174
| _ -> None )
1174
1175
|> List. concat
1175
1176
in
1176
- forSignatureItems ~file items parts
1177
- | _ -> forStructureItems ~file [] [||]
1177
+ extraForSignatureItems ~file items parts
1178
+ | _ -> extraForStructureItems ~file [] [||]
1178
1179
1179
1180
let fullForCmt ~moduleName ~package ~uri cmt =
1180
1181
match Shared. tryReadCmt cmt with
0 commit comments