Skip to content

Conversation

lukewagner
Copy link
Member

As discussed in #285, this PR relaxes the validation rules for [constructor]-annotated functions to additionally allow explicitly-declared result<r, ...> return types (e.g., resource r { constructor() -> result<r>; }).

badeend added a commit to badeend/wasm-tools that referenced this pull request Aug 21, 2025
badeend added a commit to badeend/wasm-tools that referenced this pull request Aug 21, 2025
badeend added a commit to badeend/wasm-tools that referenced this pull request Aug 21, 2025
badeend added a commit to badeend/wasm-tools that referenced this pull request Aug 21, 2025
github-merge-queue bot pushed a commit to bytecodealliance/wasm-tools that referenced this pull request Aug 21, 2025
badeend added a commit to badeend/wit-bindgen that referenced this pull request Aug 22, 2025
And C support came along for free.
See: WebAssembly/component-model#550

C++, C# & Moonbit are not supported yet.
badeend added a commit to badeend/wit-bindgen that referenced this pull request Aug 23, 2025
And C support came along for free.
See: WebAssembly/component-model#550

C++, C# & Moonbit are not supported yet.
github-merge-queue bot pushed a commit to bytecodealliance/wit-bindgen that referenced this pull request Aug 23, 2025
And C support came along for free.
See: WebAssembly/component-model#550

C++, C# & Moonbit are not supported yet.
@lukewagner
Copy link
Member Author

Alright, from #285, sounds like support for this has merged into tools, so I'll go ahead and merge this.

@lukewagner lukewagner merged commit fd0b9e2 into main Aug 26, 2025
2 checks passed
@lukewagner lukewagner deleted the fallible-ctor branch August 26, 2025 16:08
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