We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 735846d commit 295dc15Copy full SHA for 295dc15
1 file changed
CodeHawk/CHC/cchanalyze/cCHPOCheckErrnoWritten.ml
@@ -51,7 +51,9 @@ module VarUF = CHUnionFind.Make
51
52
module ErrnoP = CCHErrnoWritePredicateSymbol
53
54
-let (let*) = Option.bind
+let (let*) ao f = match ao with
55
+ | Some x -> f x
56
+ | None -> None
57
58
let interval_of_bounds (lb: numerical_t option) (ub: numerical_t option): interval_t =
59
let l = Option.fold ~none:minus_inf_bound ~some:bound_of_num lb in
0 commit comments