Skip to content

Rename (offset foo) text production to offsetexpr (fixing broken links)#2190

Merged
rossberg merged 2 commits into
WebAssembly:mainfrom
bvisness:offsetexpr
Jun 19, 2026
Merged

Rename (offset foo) text production to offsetexpr (fixing broken links)#2190
rossberg merged 2 commits into
WebAssembly:mainfrom
bvisness:offsetexpr

Conversation

@bvisness

@bvisness bvisness commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

The text production for (offset foo) in data and elem segments was simply called "offset", which clashed with the identically-named offset=foo production used for memargs. Links in the data and elem segments sections therefore went to the wrong place. This has been resolved by renaming (offset foo) to "offsetexpr", symmetric with "elemexpr".

bvisness added 2 commits June 17, 2026 13:59
The text production for (offset foo) in data and elem segments was
simply called "offset", which clashed with the identically-named
offset=foo production used for memargs. Links in the data and elem
segments sections therefore went to the wrong place. This has been
resolved by naming (offset foo) to "offsetexpr", symmetric with
"elemexpr".

@rossberg rossberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That makes sense, thanks!

@rossberg rossberg merged commit 86477a3 into WebAssembly:main Jun 19, 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