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
when running the code below, the compiler complains about resolving the generics although the issue we're checking a field element has negative number of bits.
kashbrti
changed the title
Complaining about the generics although the issue is a bad index
Complaining about resolving the generics although the issue we're checking a field element has negative number of bits
Jan 16, 2025
kashbrti
changed the title
Complaining about resolving the generics although the issue we're checking a field element has negative number of bits
bad error message regarding resolving generics
Jan 16, 2025
error: Could not determine array length `-106`, encountered error: `The value `-106` cannot fit into `numeric u32` which has a maximum size of `4294967295``
┌─ std/field/mod.nr:14:13
│
14 │ BIT_SIZE < modulus_num_bits() as u32,
│ --------
│
= Call stack:
1. std/field/mod.nr:14:13
I guess that's the expected message, right?
It seems it was fixed by #7263 though I'm not sure why.
when running the code below, the compiler complains about resolving the generics although the issue we're checking a field element has negative number of bits.
The text was updated successfully, but these errors were encountered: