Skip to content

Node::swap add info on ownership of schema#1642

Closed
cyrush wants to merge 1 commit into
developfrom
task/2026_07_move_swap
Closed

Node::swap add info on ownership of schema#1642
cyrush wants to merge 1 commit into
developfrom
task/2026_07_move_swap

Conversation

@cyrush

@cyrush cyrush commented Jul 6, 2026

Copy link
Copy Markdown
Member

No description provided.

@cyrush
cyrush requested a review from JustinPrivitera July 6, 2026 18:25
@cyrush

cyrush commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

not sure this should be a pure swap, the ownership semantics are complicated.
we should write out a table with all the possible cases to understand.

@cyrush

cyrush commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

This is not a good change, the ownership semantics have to do with how the schema tree is owned, and a simple swap will not work.

@cyrush cyrush closed this Jul 6, 2026
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