mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-18 15:31:25 +00:00
Refactor creation of functions in the backend
This commit refactors the lowest-level primitive for creating functions into a new `create_one_function` function. This doesn't take into account overloading but is suitable for things like `create_{getter,setter}`. Eventually the overloading will be implemented in terms of this function.
This commit is contained in:
@ -577,7 +577,7 @@ impl<'src> FirstPassRecord<'src> {
|
||||
use weedle::interface::Special;
|
||||
|
||||
let is_static = match modifier {
|
||||
Some(Stringifier(_)) => uniimplemented!(), // filtered out earlier
|
||||
Some(Stringifier(_)) => unimplemented!(), // filtered out earlier
|
||||
Some(Static(_)) => true,
|
||||
None => false,
|
||||
};
|
||||
|
Reference in New Issue
Block a user