# AstGen: skip walking the AST when there are parse errors · gitcafe/zig

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

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

Visibility: public

Requested revision: 3b00e341fd8d1f12a3a14ee79a675a36549e716b

Requested commit: 3b00e341fd8d1f12a3a14ee79a675a36549e716b

Commit: 3b00e341fd8d1f12a3a14ee79a675a36549e716b

Tree: 23f3ee1522e9e9b980810b3516b90595beee73a8

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
AstGen: skip walking the AST when there are parse errors

The AST -> ZIR lowering process assumes an AST that does not have any
parse errors.

```

## Parents

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

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