Skip to content

Commit c43ef93

Browse files
committed
Adapt to constant Cmxa constructor in OxCaml
1 parent 07be773 commit c43ef93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/odoc/classify.cppo.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ let read_library ic init =
197197
let open Magic_number in
198198
match read_current_info ~expected_kind:None ic with
199199
| Ok { kind = Cma; version = _ } -> read_cma ic init
200-
| Ok { kind = Cmxa _; version = _ } -> read_cmxa ic init
200+
| Ok { kind = Cmxa; version = _ } -> read_cmxa ic init
201201
| Ok { kind = _; version = _ } -> Error (`Msg "Not a valid library")
202202
| Error _ -> Error (`Msg "Not a valid file")
203203
#else

0 commit comments

Comments
 (0)