Skip to content

[spec] Several scattered spec fixes#2112

Merged
rossberg merged 3 commits intoWebAssembly:mainfrom
raoxiaojia:patches-2
Mar 16, 2026
Merged

[spec] Several scattered spec fixes#2112
rossberg merged 3 commits intoWebAssembly:mainfrom
raoxiaojia:patches-2

Conversation

@raoxiaojia
Copy link
Contributor

This PR fixes some scattered minor errors in the spec.

  1. free_instr is missing typeid from struct.new $idx. The reference interpreter combines struct.new and struct.new_default into one, but in both cases the typeidx is included.
    Note that this is purely a preemptive fix as it has no observable effect on any part of the spec, since the free.TYPES component is not consumed by anything later in the spec currently.
  2. table.grow is hardcoded to produce an i32 instead of the table's address type (which can be i64 now).
  3. Minor typo in text format of some conversion operations.

Copy link
Member

@rossberg rossberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@rossberg rossberg merged commit da9ea89 into WebAssembly:main Mar 16, 2026
10 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