# Zcu: key compile errors on \`AnalUnit\` where appropriate · gitcafe/zig

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

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

Visibility: public

Requested revision: 5f03c025058ddda09bfb3eac283bb88d30ad38cc

Requested commit: 5f03c025058ddda09bfb3eac283bb88d30ad38cc

Commit: 5f03c025058ddda09bfb3eac283bb88d30ad38cc

Tree: 6279872cfa6a45d10bee6dd6658e71409798eb5c

Author: mlugg

Committer: mlugg

## Message

```
Zcu: key compile errors on `AnalUnit` where appropriate

This change seeks to more appropriately model the way semantic analysis
works by drawing a more clear line between errors emitted by analyzing a
`Decl` (in future a `Cau`) and errors emitted by analyzing a runtime
function.

This does change a few compile errors surrounding compile logs by adding
more "also here" notes. The new notes are more technically correct, but
perhaps not so helpful. They're not doing enough harm for me to put
extensive thought into this for now.

```

## Parents

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

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