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

Unusual regression in Range#to_a #4069

Closed
headius opened this issue Aug 12, 2016 · 2 comments
Closed

Unusual regression in Range#to_a #4069

headius opened this issue Aug 12, 2016 · 2 comments

Comments

@headius
Copy link
Member

@headius headius commented Aug 12, 2016

There was a strange regression in the behavior of the following expression:

('2202702806'..'2202702806').to_a

This is tested in the jruby suite at test/jruby/test_array.rb:42.

I will commit a patch shortly that fixes it, but I'm confused how this ever would have worked. I need to bisect to make sure nothing else is broken.

@headius headius added this to the JRuby 9.1.3.0 milestone Aug 12, 2016
headius added a commit that referenced this issue Aug 12, 2016
@kares
Copy link
Member

@kares kares commented Aug 12, 2016

similar case has been (reported and) fixed with 9c1abe7 (for 9.1.3.0)

@headius
Copy link
Member Author

@headius headius commented Aug 15, 2016

@kares Did we do a bad merge and lose the fix or something? It was definitely still int on master when I patched it.

For now we'll call it fixed and blame the regression on gremlins.

@headius headius closed this Aug 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.