Skip to content

rx.util.Range.createWithCount(int start, int count) yields invalid sequence when start != 1 #164

Description

@christianbourgeois

createWithCount(1, 4) correctly yields (1, 2, 3, 4)
createWithCount(2, 4) yields (2, 3, 4, 5, 6, 7, 8, 9) where it should be (2, 3, 4, 5)
createWithCount(0, 4) yields () where it should be (0, 1, 2, 3)
createWithCount(-1, 4) yields () where it should be (-1, 0, 1, 2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions