Skip to content

Commit 73baa12

Browse files
committed
Add word "operator" after "arithmetic" to checks as in Mopsa and dashboard
1 parent d0e54b2 commit 73baa12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/common/util/checks.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ module Category = struct
5252
| AssertionFailure -> "Assertion failure"
5353
| InvalidMemoryAccess -> "Invalid memory access"
5454
| DivisionByZero -> "Division by zero"
55-
| SignedIntegerOverflowInArithmetic -> "Signed integer overflow in arithmetic"
55+
| SignedIntegerOverflowInArithmetic -> "Signed integer overflow in arithmetic operator"
5656
| SignedIntegerOverflowInExplicitCast -> "Signed integer overflow in explicit cast"
5757
| SignedIntegerOverflowInImplicitCast -> "Signed integer overflow in implicit cast"
58-
| UnsignedIntegerOverflowInArithmetic -> "Unsigned integer overflow in arithmetic"
58+
| UnsignedIntegerOverflowInArithmetic -> "Unsigned integer overflow in arithmetic operator"
5959
| UnsignedIntegerOverflowInExplicitCast -> "Unsigned integer overflow in explicit cast"
6060
| UnsignedIntegerOverflowInImplicitCast -> "Unsigned integer overflow in implicit cast"
6161
| InvalidShift -> "Invalid shift"
@@ -69,10 +69,10 @@ module Category = struct
6969
| `String "Assertion failure" -> Ok AssertionFailure
7070
| `String "Invalid memory access" -> Ok InvalidMemoryAccess
7171
| `String "Division by zero" -> Ok DivisionByZero
72-
| `String "Signed integer overflow in arithmetic" -> Ok SignedIntegerOverflowInArithmetic
72+
| `String "Signed integer overflow in arithmetic operator" -> Ok SignedIntegerOverflowInArithmetic
7373
| `String "Signed integer overflow in explicit cast" -> Ok SignedIntegerOverflowInExplicitCast
7474
| `String "Signed integer overflow in implicit cast" -> Ok SignedIntegerOverflowInImplicitCast
75-
| `String "Unsigned integer overflow in arithmetic" -> Ok UnsignedIntegerOverflowInArithmetic
75+
| `String "Unsigned integer overflow in arithmetic operator" -> Ok UnsignedIntegerOverflowInArithmetic
7676
| `String "Unsigned integer overflow in explicit cast" -> Ok UnsignedIntegerOverflowInExplicitCast
7777
| `String "Unsigned integer overflow in implicit cast" -> Ok UnsignedIntegerOverflowInImplicitCast
7878
| `String "Invalid shift" -> Ok InvalidShift

0 commit comments

Comments
 (0)