# AstGen: allow breaking from labeled switch · gitcafe/zig

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

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

Visibility: public

Requested revision: b7a55cd6c3ca0c4c97f266b72f741b980416456a

Requested commit: b7a55cd6c3ca0c4c97f266b72f741b980416456a

Commit: b7a55cd6c3ca0c4c97f266b72f741b980416456a

Tree: b164dd3a629abb7d1ca3aaa697712b8817e684cc

Author: mlugg

Committer: mlugg

## Message

```
AstGen: allow breaking from labeled switch

Also, don't use the special switch lowering for errors if the switch
is labeled; this isn't currently supported. Related: #20627.

```

## Parents

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

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