Skip to content

Clarify 'alias outer' rules, add test#675

Open
lukewagner wants to merge 1 commit into
mainfrom
tweak-outer-alias
Open

Clarify 'alias outer' rules, add test#675
lukewagner wants to merge 1 commit into
mainfrom
tweak-outer-alias

Conversation

@lukewagner

Copy link
Copy Markdown
Member

This PR is meant to address the question in wasm-tools/#2545. Outer aliases were a bit hand-wavily defined before, so the PR tries to clarify things by ruling out more invalid cases in the grammar (which has been a source of confusion). Also a WAST test with better coverage is added (which passes on current Wasmtime).

@alexcrichton

Copy link
Copy Markdown
Collaborator

FWIW the test doesn't currently pass in wasm-tools here, but that's for unrelated tooling issues where it looks like wasmprinter, when printing an invalid component, makes it invalid in a different way. Otherwise lgtm 👍

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