Skip to content

fix issues regarding empty WIT interfaces and resources - #254

Merged
dicej merged 1 commit into
bytecodealliance:mainfrom
dicej:fix-252
Oct 28, 2026
Merged

dicej merged 1 commit into
bytecodealliance:mainfrom
dicej:fix-252

Conversation

@dicej

@dicej dicej commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

component-init-transform was not correctly detecting the end of component or module sections when the component or module was empty, so I fixed that and made a new release.

Also, Summary::generate_code was generating invalid code for exported resource types with no methods, which this also fixes.

Fixes #252

`component-init-transform` was not correctly detecting the end of component or
module sections when the component or module was empty, so I fixed that and made
a new release.

Also, `Summary::generate_code` was generating invalid code for exported resource
types with no methods, which this also fixes.

Fixes bytecodealliance#252
@dicej
dicej merged commit 704719e into bytecodealliance:main Oct 28, 2026
4 checks passed
@dicej
dicej deleted the fix-252 branch October 28, 2026 23:14
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.

Empty exported interface fails with “unknown component 1: component index out of bounds”

1 participant