-
Notifications
You must be signed in to change notification settings - Fork 6
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
comptime #1
Comments
hmm i thought it errored when i was writing this 🤔 but yeah retried it now and its not erroring the official docs say that it should fail too: might be better to open an issue in the main noir repo if you're up for it @trangnv! |
i've updated the example such that the unused variable warning won't show -- instead, the failure should show once the bug is patched in noir itself |
Sure will take a look and file one on noir repo if necessary |
In
comptime
example, you said thatBut looks like mutable is ok, the error is unused variable
bad_var
. using it e.g.assert(bad_var == 3);
will workSo
comptime Field
can be mutable apparently?The text was updated successfully, but these errors were encountered: