Skip to content

Require getter/setter result/param types to agree - #722

Merged
bvisness merged 1 commit into
WebAssembly:mainfrom
bvisness:get-set-types
Sep 16, 2026
Merged

bvisness merged 1 commit into
WebAssembly:mainfrom
bvisness:get-set-types

Conversation

@bvisness

Copy link
Copy Markdown
Collaborator

This was an oversight from #701. For bindgen to make sense, the return types of getters and the param types of setters must agree. A little fussing is required to handle getters that return result<T>.

This was an oversight from WebAssembly#701. For bindgen to make sense, the return
types of getters and the param types of setters must agree. A little
fussing is required to handle getters that return result<T>.
Comment thread design/mvp/Binary.md
@bvisness
bvisness merged commit 67fb8ac into WebAssembly:main Sep 16, 2026
1 check passed
@bvisness
bvisness deleted the get-set-types branch September 16, 2026 15:23
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