Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro committed Jun 17, 2023
1 parent 9065ed0 commit 1b89c2f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/jsoo_main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ let () =
let error_of_exn e =
match Location.error_of_exn e with
| Some (`Ok e) -> Some e
| Some `Already_displayed | None -> None
| Some `Already_displayed -> None
| None -> (
match Ocaml_common.Location.error_of_exn e with
| Some (`Ok e) -> Some e
| Some `Already_displayed | None -> None)

module From_ppxlib =
Ppxlib_ast.Convert (Ppxlib_ast.Selected_ast) (Ppxlib_ast__.Versions.OCaml_414)
Expand Down

0 comments on commit 1b89c2f

Please sign in to comment.