We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
loop
for
while
()
Given this code:
fn main() { for _ in 0..10 { 10 } }
The compiler should give an error saying that the for body's type should be (), not Field.
Field
The code gives no error (unlike Rust).
The same applies to loop and while.
None
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Aim
Given this code:
Expected Behavior
The compiler should give an error saying that the
for
body's type should be()
, notField
.Bug
The code gives no error (unlike Rust).
The same applies to
loop
andwhile
.To Reproduce
Workaround
None
Workaround Description
No response
Additional Context
No response
Project Impact
None
Blocker Context
No response
Nargo Version
No response
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: