Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement structural equality or subtype checking for dynamic component types #4522

Open
dicej opened this issue Jul 25, 2022 · 0 comments
Open
Labels
wasm-proposal:component-model Issues related to the WebAssembly Component Model proposal

Comments

@dicej
Copy link
Contributor

dicej commented Jul 25, 2022

Per #4442 (comment) and #4442 (comment), we need to define what it means for two component types to be equal to each other (or more generally, what it means for one to be a subtype of the other) and implement that. See the PartialEq impl for wasmtime::component::types::Handle for the current, overly-restrictive definition, plus a comment on how it might be improved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasm-proposal:component-model Issues related to the WebAssembly Component Model proposal
Projects
None yet
Development

No branches or pull requests

2 participants