# Sema: factor out \`NeededComptimeReason\` from comptime value resolution · gitcafe/zig

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

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

Visibility: public

Requested revision: acd35a1aa75c78dc24859fa658f6d3e25e330b8a

Requested commit: acd35a1aa75c78dc24859fa658f6d3e25e330b8a

Commit: acd35a1aa75c78dc24859fa658f6d3e25e330b8a

Tree: 974281bb9fcca0dd474138bf14f71508e8107f00

Author: Jacob Young

Committer: Jacob Young

## Message

```
Sema: factor out `NeededComptimeReason` from comptime value resolution

This makes the call sites easier to read, reduces the number of `catch`
expressions required, and prepares for comptime reasons to appear
earlier in the list of notes.

```

## Parents

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

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