# wasm: Reverse the order of error and payload · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/8a81dfc9997c4ae8a109071be9754d3bb52a78f0)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 8a81dfc9997c4ae8a109071be9754d3bb52a78f0

Requested commit: 8a81dfc9997c4ae8a109071be9754d3bb52a78f0

Commit: 8a81dfc9997c4ae8a109071be9754d3bb52a78f0

Tree: 2c6b34496644cd2f61ad3553f46c8a561f282b0b

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: Reverse the order of error and payload

This will set us up to correctly retrieve the error local index and payload index
depending on that of the multi_value's index. As from now, the error will always use
the multi_value's index, and the payload will use the following locals.

```

## Parents

- [967a299c346937316158f58f3d3ae1be7ee0f551](https://git.cafe/gitcafe/zig/commit/967a299c346937316158f58f3d3ae1be7ee0f551?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/8a81dfc9997c4ae8a109071be9754d3bb52a78f0?format=markdown)
