wasm: Initial behavior tests succeeding

- Correctly load slice value on stack
- Implement WrapErrorUnionErr and payload
- Implement trunc, fix sliceLen and write undefined
- Implement slice as return type and argument

Note: This also fixes a memory leak for inferred error sets, and for usingnamespace
9e03cf9489Luuk de Gram committed on 12/5/2021, 8:19:01 PM· committed by Andrew Kelleyparenta1b79ea
7 files changedLine totals unavailable