Skip to content

Commit

Permalink
Fix no function to call warnings on dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Jan 29, 2024
1 parent 3945a84 commit 82c9f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/constraints.ml
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ struct
None
in
let funs = List.filter_map one_function functions in
if [] = funs then begin
if [] = funs && not (S.D.is_bot ctx.local) then begin
M.msg_final Warning ~category:Unsound ~tags:[Category Call] "No suitable function to call";
M.warn ~category:Unsound ~tags:[Category Call] "No suitable function to be called at call site. Continuing with state before call.";
d (* because LevelSliceLifter *)
Expand Down

0 comments on commit 82c9f97

Please sign in to comment.