Skip to content

Reject handle types in 'map' value type - #756

Open
lukewagner wants to merge 1 commit into
mainfrom
restrict-map
Open

lukewagner wants to merge 1 commit into
mainfrom
restrict-map

Conversation

@lukewagner

Copy link
Copy Markdown
Member

As proposed in #751

github-actions Bot pushed a commit to SavantEnvs/wasm-tools that referenced this pull request Oct 24, 2026
This implements the validation rule proposed in
WebAssembly/component-model#756: a `map`'s value type can't transitively
contain an `own`, `borrow`, `future`, `stream` or `error-context`.
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