# stage1: Allow variable capture for multi-prong switch arms · gitcafe/zig

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

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

Visibility: public

Requested revision: 88634f0481fb1bd78f8d018b76cab6590691c8a9

Requested commit: 88634f0481fb1bd78f8d018b76cab6590691c8a9

Commit: 88634f0481fb1bd78f8d018b76cab6590691c8a9

Tree: 68f4e1cc2f26f176de68c880e83b8f2484165928

Author: LemonBoy

Committer: LemonBoy

## Message

```
stage1: Allow variable capture for multi-prong switch arms

Handle the multi-prong case as we do with range cases.

Closes #7188

```

## Parents

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

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