Skip to content

Tree Offset logic is broken #535

@rohitrgupta

Description

@rohitrgupta

Describe the bug
Offset always excludes more rows from the end as compared with the start of the list

Setup

To Reproduce
in the duckduckgoose example add following line after line 24
l.Offset(2, 1)

Current behavior
Duck
Duck

Expected behavior
Duck
Honk → Goose

Solution
The code for swapping the start and end values if start > end should be removed from the Tree Offset function

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