# AstGen: fix switch result location elision · gitcafe/zig

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

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

Visibility: public

Requested revision: 8ee0cbe50a61cdd9495a1276a6adee9955681ecc

Requested commit: 8ee0cbe50a61cdd9495a1276a6adee9955681ecc

Commit: 8ee0cbe50a61cdd9495a1276a6adee9955681ecc

Tree: 3c3cd1d4bdca7def0ca55fcd667fcc95764feb19

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
AstGen: fix switch result location elision

It was eliding wrong instructions for nested break from labeled block

```

## Parents

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

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