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 Range#each to never include a value out of bounds. #374

Merged
merged 1 commit into from
Sep 19, 2013

Conversation

DouweM
Copy link
Contributor

@DouweM DouweM commented Sep 19, 2013

Wrong:

(0..2.4).to_a #=> [0, 1, 2, 3]

Right:

(0..2.4).to_a #=> [0, 1, 2]

@meh
Copy link
Member

meh commented Sep 19, 2013

@adambeynon when are we getting the rubyspec submodule?

meh added a commit that referenced this pull request Sep 19, 2013
Fix Range#each to never include a value out of bounds.
@meh meh merged commit 18d05e2 into opal:master Sep 19, 2013
hmdne pushed a commit to hmdne/opal that referenced this pull request Jan 27, 2024
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.

None yet

2 participants