Skip to content

Commit 798b44c

Browse files
committed
fixed safe messages
1 parent 12c3743 commit 798b44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analyses/assert.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ struct
3939
if refine then raise Analyses.Deadcode else man.local
4040
| `Lifted true ->
4141
warn (M.success ~category:Assert "%s") ("Assertion \"" ^ expr ^ "\" will succeed");
42-
Checks.safe Checks.Category.AssertionFailure ~message:("Assertion \"%s\" will succeed");
42+
Checks.safe Checks.Category.AssertionFailure ~message:("Assertion \"" ^ expr ^ "\" will succeed");
4343
man.local
4444
| `Bot ->
4545
M.error ~category:Assert "%s" ("Assertion \"" ^ expr ^ "\" produces a bottom. What does that mean? (currently uninitialized arrays' content is bottom)");

0 commit comments

Comments
 (0)