# Sema: detect unneeded source locations earlier · gitcafe/zig

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

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

Visibility: public

Requested revision: d93f1f3c72578bb343dac6431f9901d62ccf7a2e

Requested commit: d93f1f3c72578bb343dac6431f9901d62ccf7a2e

Commit: d93f1f3c72578bb343dac6431f9901d62ccf7a2e

Tree: 400dd8935ec64d8f96746eb172429dc482b27f93

Author: Jacob Young

Committer: Jacob Young

## Message

```
Sema: detect unneeded source locations earlier

This avoids a lot of work that just needs deferred cleanup anyway.
Crucially, also avoids use of undefined in `failWithNeededComptime`.

```

## Parents

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

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