Skip to content

Unusual regression in Range#to_a #4069

@headius

Description

@headius

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions