wasm-bindgen/crates
Alex Crichton bdec2582aa
Result-ify src/parser.rs (#608)
* Make ConvertToAst trait fallible

It's got some panics, and we'll be switching those to errors!

* First example of a diagnostic-driven error

Add a diagnostic-driven error `#[wasm_bindgen]` being attached to public
functions, and add some macros to boot to make it easier to generate errors!

* Result-ify `src/parser.rs`

This commit converts all of `src/parser.rs` away from panics to using
`Diagnostic` instead. Along the way this adds a test case per changed `panic!`,
ensuring that we don't regress in these areas!
2018-08-01 18:59:59 -05:00
..
backend Result-ify src/parser.rs (#608) 2018-08-01 18:59:59 -05:00
cli Upgrade failure and fix deprecation warnings (#605) 2018-08-01 16:15:09 -05:00
cli-support Upgrade failure and fix deprecation warnings (#605) 2018-08-01 16:15:09 -05:00
futures Support asynchronous tests (#600) 2018-08-01 15:52:24 -05:00
js-sys Support asynchronous tests (#600) 2018-08-01 15:52:24 -05:00
macro Result-ify src/parser.rs (#608) 2018-08-01 18:59:59 -05:00
macro-support Result-ify src/parser.rs (#608) 2018-08-01 18:59:59 -05:00
shared Support asynchronous tests (#600) 2018-08-01 15:52:24 -05:00
test Support asynchronous tests (#600) 2018-08-01 15:52:24 -05:00
test-macro Support asynchronous tests (#600) 2018-08-01 15:52:24 -05:00
test-project-builder Upgrade failure and fix deprecation warnings (#605) 2018-08-01 16:15:09 -05:00
typescript Fix compile on latest nightly (#489) 2018-07-17 09:11:30 -05:00
web-sys Add unit tests for various 'web-sys' HTML element bindings 2018-08-01 18:14:03 -05:00
webidl Prepare to have targeted error diagnostics (#604) 2018-08-01 17:15:27 -05:00
webidl-tests Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00