Skip to content

Fix join_into overwriting a destination that holds the source - #116

Merged
luketpeterson merged 2 commits into
Adam-Vandervorst:masterfrom
imlvts:fix/join-into-holds-source
Sep 19, 2026
Merged

luketpeterson merged 2 commits into
Adam-Vandervorst:masterfrom
imlvts:fix/join-into-holds-source

Conversation

@imlvts

@imlvts imlvts commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Joining with a TinyRefNode swapped operands without inverting the identity mask, so an unchanged destination reported COUNTER_IDENT and join_into replaced it with the source. merge_guts and the integer pjoin also under-reported identities, giving Element for unchanged joins.

imlvts and others added 2 commits September 16, 2026 23:25
Joining with a TinyRefNode swapped operands without inverting the identity
mask, so an unchanged destination reported COUNTER_IDENT and join_into
replaced it with the source. merge_guts and the integer pjoin also
under-reported identities, giving Element for unchanged joins.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019R2H8fnco29asY2v3TPbtF
# Conflicts:
#	src/write_zipper.rs
@luketpeterson

Copy link
Copy Markdown
Collaborator

3 fixes in here. 2 of them are very good (carrying status through merge_guts, and the dispatch to tiny_node). The third is harmless (changing policy on trash Lattice impls). Merging because I don't care enough to break out the third fix into a separate PR if it's going to get merged anyway. And I figured there must be a reason behind the change and don't really care enough to fight about it.

@luketpeterson
luketpeterson merged commit 333bf53 into Adam-Vandervorst:master Sep 19, 2026
7 of 8 checks passed
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.

2 participants