wasm-bindgen/tests/wasm
Alex Crichton f6cb73442a Fix bindings for classes only referenced through struct fields
The bindings generation for a class would accidentally omit the `__wrap`
function if it was only discovered very late in the process that
`__wrap` was needed, after we'd already passed the point where we needed
to have decided that.

This commit moves struct field generation of bindings much earlier in
the binding generation process which should ensure everything is all
hooked up by the time we generate the classes themselves.

Closes #949
2018-10-10 10:21:19 -07:00
..
api.js Port tests that use only basic features 2018-08-04 22:25:29 -05:00
api.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
char.js Port tests that use only basic features 2018-08-04 22:25:29 -05:00
char.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
classes.js Fix bindings for classes only referenced through struct fields 2018-10-10 10:21:19 -07:00
classes.rs Fix bindings for classes only referenced through struct fields 2018-10-10 10:21:19 -07:00
closures.js Improve codegen for Closure<T> 2018-09-29 07:00:53 -07:00
closures.rs Improve codegen for Closure<T> 2018-09-29 07:00:53 -07:00
comments.js Move comments test to wasm 2018-08-06 11:46:23 -07:00
comments.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
duplicate_deps.js Migrate rest of dependencies test to wasm 2018-08-06 10:42:08 -07:00
duplicate_deps.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
duplicates_a.js Support importing same-name statics from two modules 2018-08-20 10:56:58 -07:00
duplicates_b.js Support importing same-name statics from two modules 2018-08-20 10:56:58 -07:00
duplicates_c.js Support importing same-name statics from two modules 2018-08-20 10:56:58 -07:00
duplicates.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
enums.js Port tests that use only basic features 2018-08-04 22:25:29 -05:00
enums.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
import_class.js Fix the constructor and catch attributes combined 2018-08-20 10:40:54 -07:00
import_class.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
imports.js Add tests for internal imports now working 2018-10-08 09:47:17 -07:00
imports.rs Add tests for internal imports now working 2018-10-08 09:47:17 -07:00
js_objects.js Migrate the serde-serialize test to wasm 2018-08-06 09:43:55 -07:00
js_objects.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
jscast.js Implement #[wasm_bindgen(extends = ...)] 2018-08-07 13:04:11 -07:00
jscast.rs Parse Paths in extends attributes 2018-10-03 09:14:23 -07:00
main.rs Rename polyfill to vendor_prefix 2018-10-01 14:45:30 -07:00
math.js Port tests that use only basic features 2018-08-04 22:25:29 -05:00
math.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
node.js Move node test over to wasm 2018-08-06 10:06:45 -07:00
node.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
option.js Port tests that use only basic features 2018-08-04 22:25:29 -05:00
option.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
optional_primitives.js Port tests that use only basic features 2018-08-04 22:25:29 -05:00
optional_primitives.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
rethrow.js Allow returning Result from functions 2018-09-18 13:13:59 -07:00
rethrow.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
simple.js Use the JS name of an imported type for instanceof checks 2018-08-08 14:42:21 -07:00
simple.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
slice.js Implement support for Uint8ClampedArray 2018-09-24 13:58:37 -07:00
slice.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
structural.js Port tests that use only basic features 2018-08-04 22:25:29 -05:00
structural.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
u64.js Port tests that use only basic features 2018-08-04 22:25:29 -05:00
u64.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
validate_prt.js Only generate JS null checks in debug mode 2018-09-21 16:10:02 -07:00
validate_prt.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
variadic.js Add docs and remove typecheck from variadic attribute 2018-09-01 13:55:35 +01:00
variadic.rs cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
vendor_prefix.js Rename polyfill to vendor_prefix 2018-10-01 14:45:30 -07:00
vendor_prefix.rs Rename polyfill to vendor_prefix 2018-10-01 14:45:30 -07:00