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: tests/build_tests/super_errors/expected/math_operator_float.res.expected
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
Floats and ints have their own mathematical operators. This means you cannot add a float and an int without converting between the two.
14
14
15
15
Possible solutions:
16
-
- Ensure all values in this calculation has the type [1;33mfloat[0m. You can convert between floats and ints via [1;33mFloat.toInt[0m and [1;33mInt.fromFloat[0m.
16
+
- Ensure all values in this calculation have the type [1;33mfloat[0m. You can convert between floats and ints via [1;33mFloat.toInt[0m and [1;33mInt.fromFloat[0m.
17
17
- Change the operator to [1;33m+[0m, which works on [1;33mint[0m
18
18
19
19
You can convert [1;33mint[0m to [1;33mfloat[0m with [1;33mInt.toFloat[0m.
Copy file name to clipboardExpand all lines: tests/build_tests/super_errors/expected/primitives7.res.expected
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
Floats and ints have their own mathematical operators. This means you cannot add a float and an int without converting between the two.
14
14
15
15
Possible solutions:
16
-
- Ensure all values in this calculation has the type [1;33mfloat[0m. You can convert between floats and ints via [1;33mFloat.toInt[0m and [1;33mInt.fromFloat[0m.
16
+
- Ensure all values in this calculation have the type [1;33mfloat[0m. You can convert between floats and ints via [1;33mFloat.toInt[0m and [1;33mInt.fromFloat[0m.
17
17
- Change the operator to [1;33m+[0m, which works on [1;33mint[0m
18
18
19
19
You can convert [1;33mint[0m to [1;33mfloat[0m with [1;33mInt.toFloat[0m.
0 commit comments