Skip to content

Fix remove_unmasked_branches at a dangling path - #112

Open
imlvts wants to merge 1 commit into
Adam-Vandervorst:masterfrom
imlvts:fix/remove-unmasked-dangling
Open

imlvts wants to merge 1 commit into
Adam-Vandervorst:masterfrom
imlvts:fix/remove-unmasked-dangling

Conversation

@imlvts

@imlvts imlvts commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

A dangling path is a link to the empty node, which get_child_mut won't return, so the zipper passed the stub's own key to the parent node as a branch and tripped a LineListNode debug assert. There is nothing below a dangling path to filter, so do nothing.

A dangling path is a link to the empty node, which get_child_mut won't
return, so the zipper passed the stub's own key to the parent node as a
branch and tripped a LineListNode debug assert. There is nothing below a
dangling path to filter, so do nothing.

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