# added invalid switch prong error · gitcafe/zig

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

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

Visibility: public

Requested revision: 2d85ff94653457ea12cd9ab0984ab3b13c9b41e5

Requested commit: 2d85ff94653457ea12cd9ab0984ab3b13c9b41e5

Commit: 2d85ff94653457ea12cd9ab0984ab3b13c9b41e5

Tree: 2ef361af1cbc6679cad8c7d82114f44dcf6d7f95

Author: emekoi

Committer: emekoi

## Message

```
added invalid switch prong error

added error for switch prong with different payloads and support for capturing payload on switch prongs with payloads of the same type

```

## Parents

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

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