# AstGen: do not generate defers at unreachable end of block · gitcafe/zig

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

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

Visibility: public

Requested revision: 07d8740882616b18a3dd81629b1ad0b698376399

Requested commit: 07d8740882616b18a3dd81629b1ad0b698376399

Commit: 07d8740882616b18a3dd81629b1ad0b698376399

Tree: aea3ac67e4ae1d9ce9affe3a7c29edf6b5515a47

Author: mlugg

Committer: mlugg

## Message

```
AstGen: do not generate defers at unreachable end of block

Resolves: #8822

```

## Parents

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

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