Skip to content

Some sequence function implementations incorrectly check the bounds of the index argument #56

@seidewitz

Description

@seidewitz

The Java implementations of the sequence functions ExcludeAt, IncludeAllAt and IncludeAt incorrectly check that their index argument is less than or equal to the size of their sequence argument plus 1, rather than just being less than the size of the sequence. This results in an IndexOutOfBoundsException if the index is exactly one more than the size of the sequence argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions