File tree Expand file tree Collapse file tree 3 files changed +13
-18
lines changed Expand file tree Collapse file tree 3 files changed +13
-18
lines changed Original file line number Diff line number Diff line change 1
1
(documentation
2
2
(package odoc)
3
- (mld_files
4
- odoc_document
5
- odoc_examples
6
- odoc_html
7
- odoc_latex
8
- odoc_loader
9
- odoc_manpage
10
- odoc_model
11
- odoc_model_desc
12
- odoc_odoc
13
- odoc_xref2
14
- odoc_xref_test))
15
-
16
-
3
+ (mld_files odoc_document odoc_examples odoc_html odoc_latex odoc_loader
4
+ odoc_manpage odoc_model odoc_model_desc odoc_odoc odoc_xref2
5
+ odoc_xref_test))
Original file line number Diff line number Diff line change @@ -222,8 +222,8 @@ let add_to_elts kind identifier component env =
222
222
let other = ElementsById. find_by_id identifier env.ids in
223
223
match other with
224
224
| Some _ ->
225
- (* Format.eprintf "Overriding duplicate env entry\n%!" *)
226
- ()
225
+ (* Format.eprintf "Overriding duplicate env entry\n%!" *)
226
+ ()
227
227
| None -> ()
228
228
in
229
229
let name = Identifier. name identifier in
Original file line number Diff line number Diff line change @@ -234,8 +234,14 @@ let rec kind_of_module_type_cpath = function
234
234
(* * [Some (`Root _)] for errors during lookup of root modules or [None] for
235
235
other errors. *)
236
236
let rec kind_of_error : Tools_error.any -> kind option = function
237
- | `UnresolvedPath (`Module (cp , e )) -> (match kind_of_module_cpath cp with | None -> kind_of_error (e :> Tools_error.any ) | x -> x)
238
- | `UnresolvedPath (`ModuleType (cp , e )) -> (match kind_of_module_type_cpath cp with | None -> kind_of_error (e :> Tools_error.any ) | x -> x)
237
+ | `UnresolvedPath (`Module (cp , e )) -> (
238
+ match kind_of_module_cpath cp with
239
+ | None -> kind_of_error (e :> Tools_error.any )
240
+ | x -> x)
241
+ | `UnresolvedPath (`ModuleType (cp , e )) -> (
242
+ match kind_of_module_type_cpath cp with
243
+ | None -> kind_of_error (e :> Tools_error.any )
244
+ | x -> x)
239
245
| `Lookup_failure (`Root (_ , name )) ->
240
246
Some (`Root (Names.ModuleName. to_string name))
241
247
| `UnexpandedTypeOf type_of_desc -> kind_of_type_of_desc type_of_desc
You can’t perform that action at this time.
0 commit comments