Skip to content

Add support for list[::1] with Ruby 3.4+ #206

@kou

Description

@kou

Ruby 3.4 rejected step against a begin-less range ((nil..nil).step(N)).
See also: https://bugs.ruby-lang.org/issues/18368

We need to consider how we can emulate Python's slice(None, None, -1) in Ruby >= 3.4.

See also: #191

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions