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

Comments

Projects
None yet
2 participants
@headius
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.

@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

This comment has been minimized.

Show comment
Hide comment
@kares

kares Aug 12, 2016

Member

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

Member

kares commented Aug 12, 2016

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

@headius

This comment has been minimized.

Show comment
Hide comment
@headius

headius Aug 15, 2016

Member

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

Member

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