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

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

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

Visibility: public

Requested revision: 7ebbc717c01ca46486a6a3447f9152fde7c5166e

Requested commit: 7ebbc717c01ca46486a6a3447f9152fde7c5166e

Commit: 7ebbc717c01ca46486a6a3447f9152fde7c5166e

Tree: f3e69abd6a5e50c621579261a3aaa55f7ccdf3b0

Author: LemonBoy

Committer: LemonBoy

## 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

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

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