Field
computed to be larger than u32::MAX
with arithmetic generics panics
#6126
Labels
bug
Something isn't working
Aim
Attempted to compile a program that adds two
Field
's using arithmetic generics, where the result of the computation is larger thanu32::MAX
:Note that using a
u64
instead of aField
fails with:Expected Behavior
Expected compilation to succeed or else fail with a user-error
Bug
To Reproduce
Workaround
None
Workaround Description
No response
Additional Context
No response
Project Impact
None
Blocker Context
No response
Nargo Version
nargo version = 0.34.0 noirc version = 0.34.0+5598059576c6cbc72474aff4b18bc5e4bb9f08e1 (git version hash: 5598059, is dirty: false)
NoirJS Version
No response
Proving Backend Tooling & Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: