# Zcu: more dependency tracking logic · gitcafe/zig

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

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

Visibility: public

Requested revision: a0004cebc255405764e889effb25a42fe07d8463

Requested commit: a0004cebc255405764e889effb25a42fe07d8463

Commit: a0004cebc255405764e889effb25a42fe07d8463

Tree: 9579c85d052b4520c0b40602add0bc797d9ceec8

Author: mlugg

Committer: mlugg

## Message

```
Zcu: more dependency tracking logic

* Invalidate `decl_val` dependencies
* Recursively mark and un-mark all dependencies correctly
* Queue analysis of outdated dependers in `Compilation.performAllTheWork`

Introduces logic to invalidate `decl_val` dependencies after
`Zcu.semaDecl` completes. Also, recursively un-mark dependencies as PO
where needed.

With this, all dependency invalidation logic is in place. The next step
is analyzing outdated dependencies and triggering appropriate
re-analysis.

```

## Parents

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

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