We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run this with nargo execute
nargo execute
use dep::std; fn main() { let x:u8 = 300; std::println(x); }
should result in an error that says 300 does not fit in u8
300
u8
outputs
"0x012c" [modulo_overflow_test] Circuit witness successfully solved
Compiled from source
nargo 0.9.0 (git version hash: 6a10ecf, is dirty: false)
see #2008 (comment)
Maybe
No response
The text was updated successfully, but these errors were encountered:
Ethan-000
Successfully merging a pull request may close this issue.
Aim
run this with
nargo execute
Expected Behavior
should result in an error that says
300
does not fit inu8
Bug
outputs
To Reproduce
Installation Method
Compiled from source
Nargo Version
nargo 0.9.0 (git version hash: 6a10ecf, is dirty: false)
Additional Context
see #2008 (comment)
Would you like to submit a PR for this Issue?
Maybe
Support Needs
No response
The text was updated successfully, but these errors were encountered: