Nick Fitzgerald 3cdb6ef03a webidl: Turn the [Throws] extended attributes into Result<T, JsValue>
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.
2018-07-11 11:07:03 -07:00

6 lines
122 B
Rust

extern crate wasm_bindgen_test_project_builder as project_builder;
use project_builder::project;
mod simple;
mod throws;