# Sema: fix zirStoreNode crash · gitcafe/zig

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

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

Visibility: public

Requested revision: 3a4d565254f918bc949179f0f5a6934ef43b4f0d

Requested commit: 3a4d565254f918bc949179f0f5a6934ef43b4f0d

Commit: 3a4d565254f918bc949179f0f5a6934ef43b4f0d

Tree: 09650b4e75a2112456affb8ea90df909c5bb6c64

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: fix zirStoreNode crash

when other function's inferred error set is the return type of a
function, it should not try to insert the error set into it.

this implies that this branch fixes a bug in master branch.

```

## Parents

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

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