Closed ofzo closed 9 months ago
Tests are scripts that have to be executed sequentially. In particular, this test invokes as-store-first
prior to calling this function, which mutates the memory accordingly. Hence everything is working as expected.
There seems to be an error in this test case, calling the as-load-operand function in Chrome gives a result of 0, whereas the expected value in the test case is 1
https://github.com/WebAssembly/spec/blob/c7eef192b77125b88a4ab3ae7a944d10c0860f55/test/core/block.wast#L392C1-L392C57