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
failed to parse
input:
[main] x: u32 = 1u32;
code:
function main (x: u32) { let y = [0u8; 4]; y[0..3][x] = 0; }
D:\Work\leo-playground>D:\Work\leo_repos\leo\target\release\leo clean && D:\Work\leo_repos\leo\target\release\leo run Done Finished in 0 milliseconds Build Starting... Build Compiling main program... ("D:\\Work\\leo-playground\\src/main.leo") Done Finished in 2 milliseconds Error: --> D:\Work\leo-playground\src/main.leo:3:13 | 3 | y[0..3][x] = 0; | ^ | = failed to parse `1` as expected integer type
The text was updated successfully, but these errors were encountered:
gluax
Successfully merging a pull request may close this issue.
🐛 Bug Report
Code snippet to reproduce
input:
code:
Stack trace & error message
Your Environment
The text was updated successfully, but these errors were encountered: