Skip to content

Commit 295dc15

Browse files
committed
ocaml 4 fixes
1 parent 735846d commit 295dc15

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

CodeHawk/CHC/cchanalyze/cCHPOCheckErrnoWritten.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ module VarUF = CHUnionFind.Make
5151

5252
module ErrnoP = CCHErrnoWritePredicateSymbol
5353

54-
let (let*) = Option.bind
54+
let (let*) ao f = match ao with
55+
| Some x -> f x
56+
| None -> None
5557

5658
let interval_of_bounds (lb: numerical_t option) (ub: numerical_t option): interval_t =
5759
let l = Option.fold ~none:minus_inf_bound ~some:bound_of_num lb in

0 commit comments

Comments
 (0)