# Permit explicit tags with '\_' switch prong · gitcafe/zig

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

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

Visibility: public

Requested revision: 1d9b1c021273037efea6623e669800ad538c8075

Requested commit: 1d9b1c021273037efea6623e669800ad538c8075

Commit: 1d9b1c021273037efea6623e669800ad538c8075

Tree: 95efb3febc06d875e14cb1df105d686b678ff09f

Author: Justus Klausecker

Committer: Justus Klausecker

## Message

```
Permit explicit tags with '_' switch prong
Mainly affects ZIR representation of switch_block[_ref]
and special prong (detection) logic for switch.
Adds a new SpecialProng tag 'absorbing_under' that allows
specifying additional explicit tags in a '_' prong which
are respected when checking that every value is handled
during semantic analysis but are not transformed into AIR
and instead 'absorbed' by the '_' branch.

```

## Parents

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

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