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
The error given in your snippet no longer occurs, but we do run into a different "attempt to subtract with underflow" panic. I've made a PR to fix it here: #2796
Aim
I want to achieve something similar to this logic flow:
Expected Behavior
The block of code to run. Or if the operation is not supported (for some reason), then maybe a more appropriate error message should be printed.
Bug
I get the following output error:
To Reproduce
This is the minimal example I managed to find.
Calling
nargo test
will produce the error.Some things I noted:
v
fixes thingsif
condition fixes thingsif
(e.g., abool
declared outsidemain
fixes things)Installation Method
Binary
Nargo Version
nargo 0.10.5 (git version hash: 91efe44, is dirty: false)
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: