Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
18
third-party/vendor/wasm-bindgen-macro/ui-tests/invalid-setter.rs
vendored
Normal file
18
third-party/vendor/wasm-bindgen-macro/ui-tests/invalid-setter.rs
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen]
|
||||
extern "C" {
|
||||
type A;
|
||||
|
||||
#[wasm_bindgen(setter, method)]
|
||||
fn a(this: &A, b: i32);
|
||||
|
||||
#[wasm_bindgen(setter = x, method)]
|
||||
fn b(this: &A, b: i32);
|
||||
|
||||
#[wasm_bindgen(setter, method, js_name = x)]
|
||||
fn c(this: &A, b: i32);
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue