When a block contains a _BinaryenArraySet statement, Binaryen crashes during validation and emission.
This happens with both the wasm and the js targets.
It looks like a required value is null, here is the assert log:
Aborted(Assertion failed: *currp, at: /Users/ericvergnaud/Development/binaryen/src/wasm-traversal.h,313,pushTask).