Skip to content

Commit 1ce9de0

Browse files
committed
Make IntDomLifter.is_top fail with exception
1 parent 6c9eff3 commit 1ce9de0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdomain/value/cdomains/intDomain0.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ struct
321321
let is_bot x = I.is_bot x.v
322322
let top_of ikind = { v = I.top_of ikind; ikind}
323323
let top () = failwith "top () is not implemented for IntDomLifter."
324-
let is_top _ = false
324+
let is_top _ = failwith "is_top is not implemented for IntDomLifter."
325325

326326
(* Leq does not check for ikind, because it is used in invariant with arguments of different type.
327327
TODO: check ikinds here and fix invariant to work with right ikinds *)

0 commit comments

Comments
 (0)