Skip to content
New issue

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

Compilation error on newest Noir #13

Closed
LogvinovLeon opened this issue Jun 5, 2024 · 1 comment
Closed

Compilation error on newest Noir #13

LogvinovLeon opened this issue Jun 5, 2024 · 1 comment

Comments

@LogvinovLeon
Copy link

This library does not compile with the newest version of Noir:

error: The bit count in a bit-shift operation must fit in a u8, try casting the right hand side into a u8 first
   ┌─ /Users/artur/nargo/github.com/colinnielsen/noir-array-helpersv0.19.0/src/lib.nr:12:23
   │
12 │             value |= (arr_a[i*8+j] as u64) << ((56 - j*8) as u64);
@colinnielsen
Copy link
Owner

This should be fixed as of #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants