# fix capturing value of switch with all unreachable prongs · gitcafe/zig

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

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

Visibility: public

Requested revision: 716b0b8655610a3a64818c51a91254c6e4715e49

Requested commit: 716b0b8655610a3a64818c51a91254c6e4715e49

Commit: 716b0b8655610a3a64818c51a91254c6e4715e49

Tree: 0933336a01ef47e578db46a90b7641c843a7c3ef

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix capturing value of switch with all unreachable prongs

closes #635

```

## Parents

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

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