# Merge pull request \#24433 from Justus2308/switch-label-halt · gitcafe/zig

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

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

Visibility: public

Requested revision: d66f13c90d4767cce3fc1e3fa94380a27f2a09b2

Requested commit: d66f13c90d4767cce3fc1e3fa94380a27f2a09b2

Commit: d66f13c90d4767cce3fc1e3fa94380a27f2a09b2

Tree: 385130550ebb3290136828095d136804aee9b24f

Author: Andrew Kelley

Committer: GitHub

## Message

```
Merge pull request #24433 from Justus2308/switch-label-halt

Sema: Fix invalid AIR generation for switch loop with comptime discarded tag
```

## Parents

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

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

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