mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 04:21:21 +00:00
Fix enums defined in submodules
This commit is contained in:
@ -763,7 +763,7 @@ impl ToTokens for ast::Enum {
|
||||
_extra: &mut ::wasm_bindgen::convert::Stack,
|
||||
) -> Self {
|
||||
#(#cast_clauses else)* {
|
||||
wasm_bindgen::throw("invalid enum value passed")
|
||||
::wasm_bindgen::throw("invalid enum value passed")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user