# Sema: use correct error bit length when emitting error_set_has_value safety checks · gitcafe/zig

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

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

Visibility: public

Requested revision: a95be8f0e06b528c246b7b4f6cada557568017e2

Requested commit: a95be8f0e06b528c246b7b4f6cada557568017e2

Commit: a95be8f0e06b528c246b7b4f6cada557568017e2

Tree: 2506d3d8ed459ac5dc9ea0579de24a61d3cf3344

Author: mlugg

Committer: Matthew Lugg

## Message

```
Sema: use correct error bit length when emitting error_set_has_value safety checks

Resolves: #17843

```

## Parents

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

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