mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-22 21:20:52 +00:00
Previously we'd require the explicit `js_name` to *also* start with `set_`, but when explicitly specified it shouldn't be mangled at all! Closes #584
9 lines
174 B
Plaintext
9 lines
174 B
Plaintext
error: setters must start with `set_`, found: a
|
|
--> $DIR/invalid-setter.rs:10:8
|
|
|
|
|
10 | fn a(this: &A, b: i32);
|
|
| ^
|
|
|
|
error: aborting due to previous error
|
|
|