# compiler: fix branch regressions · gitcafe/zig

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

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

Visibility: public

Requested revision: 3f2a4720b1ef057215c8240b3a377c523ee63e94

Requested commit: 3f2a4720b1ef057215c8240b3a377c523ee63e94

Commit: 3f2a4720b1ef057215c8240b3a377c523ee63e94

Tree: afd14ff8780da15e9b240dc2612d86083b49a81a

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
compiler: fix branch regressions

 * getOwnedFunctionIndex no longer checks if the value is actually a
   function.
 * The callsites to `intern` that I added want to avoid the `getCoerced`
   call, so I added `intern2`.
 * Adding to inferred error sets should not happen if the destination
   error set is not the inferred error set of the current Sema instance.
 * adhoc_inferred_error_set_type can be seen by the backend. Treat it
   like anyerror.

```

## Parents

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

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