Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: split_before and split_after return malformed list when cursor is at first or last node #18

Open
morlinbrot opened this issue Jan 6, 2023 · 0 comments · May be fixed by #19
Open

Comments

@morlinbrot
Copy link

When at the cursor is positioned at the first node, split_before returns a new empty list which has its head pointer set to the original list's head which should not be the case. The same happens with split_after when at the last node.

@morlinbrot morlinbrot changed the title split_before and split_after return malformed list when cursor is at first or last node Bug: split_before and split_after return malformed list when cursor is at first or last node Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant