# stage1: Fix generation of pass-by-value args in async fns · gitcafe/zig

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

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

Visibility: public

Requested revision: 6624f9cd5c2d747224990fb9ba3e2b830a68f3e4

Requested commit: 6624f9cd5c2d747224990fb9ba3e2b830a68f3e4

Commit: 6624f9cd5c2d747224990fb9ba3e2b830a68f3e4

Tree: 83df668aaca89947fb00b52486873bdfd33b6a0f

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
stage1: Fix generation of pass-by-value args in async fns

The mismatch between the argument slot type in the frame structure and
the one used in the store operation made the generated code write
garbage over the nearby fields.

Fixes #7104

```

## Parents

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

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