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 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.

@kares
Copy link
Member

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 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 as completed Aug 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants