Skip to content

Fix sibling-step debug assert for a focus off the trie - #108

Open
imlvts wants to merge 1 commit into
Adam-Vandervorst:masterfrom
imlvts:fix/prev-sibling-off-trie-assert
Open

imlvts wants to merge 1 commit into
Adam-Vandervorst:masterfrom
imlvts:fix/prev-sibling-off-trie-assert

Conversation

@imlvts

@imlvts imlvts commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

With no sibling to move to, to_prev_sibling_byte restores the focus and returns None, then asserted path_exists(), which fails when the focus was never in the trie. Both sibling steps now assert the focus's existence is unchanged instead.

With no sibling to move to, to_prev_sibling_byte restores the focus and
returns None, then asserted path_exists(), which fails when the focus was
never in the trie. Both sibling steps now assert the focus's existence is
unchanged instead.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019R2H8fnco29asY2v3TPbtF
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 this pull request may close these issues.

1 participant