Skip to content

Incorrect move pos detection #5

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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