# Sema: fix single-range switch prong capture \(for real this time\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 044ba3e0b020c317e8934d0d8271a512a9deeff8

Requested commit: 044ba3e0b020c317e8934d0d8271a512a9deeff8

Commit: 044ba3e0b020c317e8934d0d8271a512a9deeff8

Tree: 1e15f54d75b54ace831b96066d90f8683a01208d

Author: Justus Klausecker

Committer: Alex Rønne Petersen

## Message

```
Sema: fix single-range switch prong capture (for real this time)

e2338edb47 didn't *quite* do it, the call sites of all switch prong related
functions now have to do their part too and be a little more precise about
what kind of prong they're currently analyzing.

Also removes some unused/unnecessary stuff.

```

## Parents

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

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