Skip to content

Fix get_val_with_witness at an owned zipper's root - #132

Merged
luketpeterson merged 1 commit into
Adam-Vandervorst:masterfrom
imlvts:fix/owned-zipper-val-with-witness
Sep 25, 2026
Merged

luketpeterson merged 1 commit into
Adam-Vandervorst:masterfrom
imlvts:fix/owned-zipper-val-with-witness

Conversation

@imlvts

@imlvts imlvts commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator

With no root value and the zipper root at the root node, the lookup used an unset parent key and sliced out of range. The value there is just root_val.

With no root value and the zipper root at the root node, the lookup used
an unset parent key and sliced out of range. The value there is just
root_val.
@luketpeterson

Copy link
Copy Markdown
Collaborator

Good fix! Thanks! Merging.

@luketpeterson
luketpeterson merged commit da9c832 into Adam-Vandervorst:master Sep 25, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants