# Sema: enhance comptime \`is_non_err\` resolution · gitcafe/zig

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

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

Visibility: public

Requested revision: 9e949f95c15a7552f84209e01a78b5e0d12225db

Requested commit: 9e949f95c15a7552f84209e01a78b5e0d12225db

Commit: 9e949f95c15a7552f84209e01a78b5e0d12225db

Tree: 0f26b6777dc3fd3b6740bbfa24931893855f20be

Author: Justus Klausecker

Committer: Matthew Lugg

## Message

```
Sema: enhance comptime `is_non_err` resolution

This makes `is_non_err` and `unwrap_errunion_err[_ptr]` friendlier towards
being emitted into comptime blocks. Also, `analyzeIsNonErr` now actually
attempts to do something at comptime.

```

## Parents

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

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