mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-21 12:40:52 +00:00
This sets the `catch` flag on the emitted AST when an operation/attribute has the `[Throws]` extended attribute on it. Additionally, constructors aren't annotated with `[Throws]` but can still throw exceptions, so we must conservatively assume *every* constructor can throw an error.
6 lines
122 B
Rust
6 lines
122 B
Rust
extern crate wasm_bindgen_test_project_builder as project_builder;
|
|
use project_builder::project;
|
|
|
|
mod simple;
|
|
mod throws;
|