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

fix closure iter state table init type [backport] #20717

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

arnetheduck
Copy link
Contributor

It is a well-known fact that using closed intervals for ranges is logically, objectively and eternally wrong, as evidenced by this off-by-one.

It is a well-known fact that using closed intervals for ranges is
logically, objectively and eternally wrong, as evidenced by this
off-by-one.
@Araq
Copy link
Member

Araq commented Oct 31, 2022

One swallow doesn't make a summer and the real problem is starting with zero.

@Araq Araq merged commit a0653ae into nim-lang:devel Oct 31, 2022
@github-actions
Copy link
Contributor

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from a0653ae

Hint: mm: orc; opt: speed; options: -d:release
164700 lines; 12.330s; 613.641MiB peakmem

narimiran pushed a commit that referenced this pull request Nov 10, 2022
fix closure iter state table init type

It is a well-known fact that using closed intervals for ranges is
logically, objectively and eternally wrong, as evidenced by this
off-by-one.

(cherry picked from commit a0653ae)
capocasa pushed a commit to capocasa/Nim that referenced this pull request Mar 31, 2023
fix closure iter state table init type

It is a well-known fact that using closed intervals for ranges is
logically, objectively and eternally wrong, as evidenced by this
off-by-one.
bung87 pushed a commit to bung87/Nim that referenced this pull request Jul 29, 2023
fix closure iter state table init type

It is a well-known fact that using closed intervals for ranges is
logically, objectively and eternally wrong, as evidenced by this
off-by-one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants