# Sema: give \`try\` operand \`error\{\}\` result type in non-errorable functions · gitcafe/zig

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

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

Visibility: public

Requested revision: 19924ca2890964b411362c423dd9f4b10596a18f

Requested commit: 19924ca2890964b411362c423dd9f4b10596a18f

Commit: 19924ca2890964b411362c423dd9f4b10596a18f

Tree: 0aa9fd860a4518b51d9595c75245797dcde95da2

Author: mlugg

Committer: Matthew Lugg

## Message

```
Sema: give `try` operand `error{}` result type in non-errorable functions

Resolves: #21414

```

## Parents

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

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