# langref: document new switch features · gitcafe/zig

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

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

Visibility: public

Requested revision: 5a376d97d4595f12dffaf54c4cfc303b0e902cc6

Requested commit: 5a376d97d4595f12dffaf54c4cfc303b0e902cc6

Commit: 5a376d97d4595f12dffaf54c4cfc303b0e902cc6

Tree: 3e6b5d1b55e379d87ae321ed74a68e643d9631d5

Author: Justus Klausecker

Committer: Matthew Lugg

## Message

```
langref: document new switch features

- switch on tagged union with runtime-captured tag
- switch on errors special cases

```

## Parents

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

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