Skip to content

Incorrect move pos detection #5

@Freak613

Description

@Freak613

I have a case for a list of 10 elements, swapping list[1] and list[8] to each other

var tmp = list[1]
list[1] = list[8]
list[8] = tmp

Library incorrectly detects everything between 1 and 8 idx as moved and produces 8 MOVE effects, with prev = next for [2-7] elements.
Elements in between has the same indices and it should produce UPDATE for them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions