You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/analyses/assert.ml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -35,19 +35,19 @@ struct
35
35
matchQueries.eval_bool (Analyses.ask_of_man man) e with
36
36
|`Liftedfalse ->
37
37
warn (M.error ~category:Assert"%s") ~annot:"FAIL" ("Assertion \""^ expr ^"\" will fail.");
38
-
Checks.error Checks.Category.AssersionFaillure"Assertion \"%s\" will fail." expr;
38
+
Checks.error Checks.Category.AssertionFailure"Assertion \"%s\" will fail." expr;
39
39
if refine then raise Analyses.Deadcodeelse man.local
40
40
|`Liftedtrue ->
41
41
warn (M.success ~category:Assert"%s") ("Assertion \""^ expr ^"\" will succeed");
42
-
Checks.safe Checks.Category.AssersionFaillure~message:("Assertion \"%s\" will succeed");
42
+
Checks.safe Checks.Category.AssertionFailure~message:("Assertion \"%s\" will succeed");
43
43
man.local
44
44
|`Bot ->
45
45
M.error ~category:Assert"%s" ("Assertion \""^ expr ^"\" produces a bottom. What does that mean? (currently uninitialized arrays' content is bottom)");
46
-
Checks.error Checks.Category.AssersionFaillure"Assertion \"%s\" produces a bottom. What does that mean? (currently uninitialized arrays' content is bottom)" expr;
46
+
Checks.error Checks.Category.AssertionFailure"Assertion \"%s\" produces a bottom. What does that mean? (currently uninitialized arrays' content is bottom)" expr;
47
47
man.local
48
48
|`Top ->
49
49
warn (M.warn ~category:Assert"%s") ~annot:"UNKNOWN" ("Assertion \""^ expr ^"\" is unknown.");
50
-
Checks.warn Checks.Category.AssersionFaillure"Assertion \"%s\" is unknown." expr;
50
+
Checks.warn Checks.Category.AssertionFailure"Assertion \"%s\" is unknown." expr;
0 commit comments