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

Cannot compare integer with type u8 #788

Closed
guipublic opened this issue Feb 9, 2023 · 0 comments · Fixed by #789
Closed

Cannot compare integer with type u8 #788

guipublic opened this issue Feb 9, 2023 · 0 comments · Fixed by #789
Labels
bug Something isn't working compiler frontend `noirc_frontend` crate

Comments

@guipublic
Copy link
Contributor

Description

Aim

Compare array elements: When using the sort builtin function from PR #754, I get the an error.

Expected behavior

No error

Bug

error: Integer cannot be used with type u8

To reproduce

Run the test case added in PR #754

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler frontend `noirc_frontend` crate
Projects
None yet
1 participant