# Merge pull request \#10019 from mattbork/ret-fixes · gitcafe/zig

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

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

Visibility: public

Requested revision: d4bf44024a005fcd6931fd0975d78c890dedb4e6

Requested commit: d4bf44024a005fcd6931fd0975d78c890dedb4e6

Commit: d4bf44024a005fcd6931fd0975d78c890dedb4e6

Tree: 35931469836f03190a72f3b3a277279a766a4138

Author: Andrew Kelley

Committer: GitHub

## Message

```
Merge pull request #10019 from mattbork/ret-fixes

astgen.zig: fixes for error propagation `ret` and return types in `fnDecl` and `fnProtoExpr`
```

## Parents

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

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

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