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
[one] Running 1 test function
[one] Testing test... error: The value `-1` cannot fit into `u32` which has range `0..=4294967295`
┌─ src/main.nr:4:13
│
4 │ let b = -1;
│ --
Aim
After quite a bit of head-scratching I noticed certain signed integers seem to be incorrectly upcast when performing comparisons.
Bug
I expected the following test to pass, but it doesn't:
The test does pass as expected if I do
a as i32
.The text was updated successfully, but these errors were encountered: