# AstGen: use \`block_inline\` and \`break_inline\` consistently · gitcafe/zig

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

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

Visibility: public

Requested revision: 26253acf1ddcc2007804a3fbf538f3120e048547

Requested commit: 26253acf1ddcc2007804a3fbf538f3120e048547

Commit: 26253acf1ddcc2007804a3fbf538f3120e048547

Tree: f77837e5ed537f69eae4df0fc81f8eb54304d894

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
AstGen: use `block_inline` and `break_inline` consistently

These are more efficiently semantically analyzed. More importantly, if
they don't match, we get a crash in Sema.

Missing places prior to this commit:
 * labeled blocks
 * `break` and `continue` on comptime (not inline) loops
 * `if`, `try`, `orelse`, and `catch` inside comptime scopes

```

## Parents

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

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