Skip to content

Commit 6867e54

Browse files
panglesdjonludlam
authored andcommitted
Compatibility
1 parent 68153ee commit 6867e54

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/model/frontmatter.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ let parse_child c =
2626
let parse_children_order loc co =
2727
let rec parse_words acc words =
2828
match words with
29-
| [] -> Ok (Location_.at loc (Children_order (List.rev acc)))
29+
| [] -> Result.Ok (Location_.at loc (Children_order (List.rev acc)))
3030
| ({ Location_.value = `Word word; _ } as w) :: tl ->
3131
parse_words ({ w with value = parse_child word } :: acc) tl
3232
| { Location_.value = `Space _; _ } :: tl -> parse_words acc tl

src/model/frontmatter.mli

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ val empty : t
1111
val parse_children_order :
1212
Location_.span ->
1313
Odoc_parser.Ast.nestable_block_element Location_.with_location list ->
14-
(line Location_.with_location, Error.t) result
14+
(line Location_.with_location, Error.t) Result.result
1515

1616
val of_lines : line Location_.with_location list -> t Error.with_warnings

src/model/semantics.ml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
open Odoc_utils
2+
13
module Location = Location_
24
module Ast = Odoc_parser.Ast
35

0 commit comments

Comments
 (0)