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

Address some comments in #377 #388

Merged
merged 7 commits into from
Aug 1, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update documentation/leo/03_language.md
Co-authored-by: Eric McCarthy <[email protected]>
Signed-off-by: d0cd <[email protected]>
d0cd and bendyarm authored Jul 29, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit d83218bd0ff002873838887079526ec0b02c9025
2 changes: 1 addition & 1 deletion documentation/leo/03_language.md
Original file line number Diff line number Diff line change
@@ -601,7 +601,7 @@ Return statements are declared as `return {expression};`.

### For Loops

For loops are declared as `for {variable: type} in {lower bound}..{upper bound}`. The loop bounds must be integer types and constant. Furthermore, the lower bound must be
For loops are declared as `for {variable: type} in {lower bound}..{upper bound}`. The loop bounds must be integer constants of the same type. Furthermore, the lower bound must be
less than the upper bound. Nested loops are supported.