# IR: error for returning from defer expression · gitcafe/zig

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

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

Visibility: public

Requested revision: a9acc8cb4574ce8f1792fbfa9bd93985a6b47f87

Requested commit: a9acc8cb4574ce8f1792fbfa9bd93985a6b47f87

Commit: a9acc8cb4574ce8f1792fbfa9bd93985a6b47f87

Tree: d31ec81c7dec180d4f744950e8d504b18c3aa761

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
IR: error for returning from defer expression

also fix peer type resolution for pure error mixed with error union

```

## Parents

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

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