Skip to content

0.6.* release branch - #74

Open
jcmosc wants to merge 18 commits into
mainfrom
release/0.6
Open

jcmosc wants to merge 18 commits into
mainfrom
release/0.6

Conversation

@jcmosc

@jcmosc jcmosc commented Sep 28, 2026

Copy link
Copy Markdown
Owner

No description provided.

@jcmosc jcmosc changed the title Update bundle version to 0.6.0 0.6.* release branch Oct 9, 2026
Kyle-Ye and others added 7 commits October 21, 2026 19:26
When the payload type of an enum case could not be resolved, visit_case
popped the EnumItem from the items vector, destroying the case that
_current_enum_case pointed into, and then fell through to code that read
the case's children and popped it from the destroyed EnumItem.

Return immediately after popping the EnumItem instead, restoring the enum
case depth and current enum case, as the original implementation does.
Callers already revert their items when visit_case returns false.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t_case

The item count passed to revert() was read after visiting the payload
type, so the revert never removed anything. Read it before the visit, as
the original implementation and visit_element do. This does not change
the resulting layout, since the case's children are cleared immediately
after reverting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Case items share the enum item's offset space, and the comparison starts
each case at the enum's offset. Starting the case emitter at 0 encoded an
extra skip equal to the enum's offset, so enums laid out inline at a
nonzero offset compared the wrong bytes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Match AttributeGraph: an enum's layout is invalid if any case's children
are invalid, not only when a case extends past the enum's size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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