We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#[wasm_bindgen]
Right now, #[wasm_bindgen(getter, setter)] is valid and will be interpreted as a setter. The getter option will be ignored with no warning or error.
#[wasm_bindgen(getter, setter)]
getter
This also affects indexing_getter, indexing_getter, and indexing_deleter.
indexing_getter
indexing_deleter
Emit a warning about conflicting options for now, and make it a hard error in the next major version.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Motivation
Right now,
#[wasm_bindgen(getter, setter)]
is valid and will be interpreted as a setter. Thegetter
option will be ignored with no warning or error.This also affects
indexing_getter
,indexing_getter
, andindexing_deleter
.Solution
Emit a warning about conflicting options for now, and make it a hard error in the next major version.
The text was updated successfully, but these errors were encountered: