# incremental: introduce \`file\` dependencies to handle AstGen failures · gitcafe/zig

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

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

Visibility: public

Requested revision: 22539783ad15be3028ed07983eb8e23910171f11

Requested commit: 22539783ad15be3028ed07983eb8e23910171f11

Commit: 22539783ad15be3028ed07983eb8e23910171f11

Tree: 0ace6676df00397e4ca4df098013220f95e85bf7

Author: mlugg

Committer: mlugg

## Message

```
incremental: introduce `file` dependencies to handle AstGen failures

The re-analysis here is a little coarse; it'd be nice in the future to
have a way for an AstGen failure to preserve *all* analysis which
depends on the last success, and just hide the compile errors which
depend on it somehow. But I'm not sure how we'd achieve that, so this
works fine for now.

Resolves: #21223

```

## Parents

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

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