# Removed copy-pasted resolve_inferred_error_set · gitcafe/zig

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

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

Visibility: public

Requested revision: 1b3aaacba260e4c8d89ac98ab856ff9b3c77dac4

Requested commit: 1b3aaacba260e4c8d89ac98ab856ff9b3c77dac4

Commit: 1b3aaacba260e4c8d89ac98ab856ff9b3c77dac4

Tree: 2bc1d01d4daa8db2451fd91834b241a0018d6c9d

Author: Jimmi HC

Committer: Jimmi HC

## Message

```
Removed copy-pasted resolve_inferred_error_set
both ir.cpp and analyze.cpp have a function resolve_inferred_error_set,
which is a nearly exact copy-paste. This commit removes the one in ir.cpp
and exposes then one in analyze.cpp. This also allows us to make
analyze_fn_body local to analyze.cpp, as it is not used anywhere in
ir.cpp after this change

```

## Parents

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

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