# frontend: fixes for function regressions in this branch · gitcafe/zig

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

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

Visibility: public

Requested revision: 684aee32209932166713462cc341fa469aad0728

Requested commit: 684aee32209932166713462cc341fa469aad0728

Commit: 684aee32209932166713462cc341fa469aad0728

Tree: c7d90cbd2143bf022f8dc324fadf12a04364f73e

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
frontend: fixes for function regressions in this branch

 * Introduce InternPool.Tag.func_coerced to handle the case of a
   function body coerced to a new type. `InternPool.getCoerced` is now
   implemented for function bodies in this branch.
 * implement resolution of ad-hoc inferred error sets in
   `Sema.analyzeCall`.
 * fix generic_owner being set wrong for child Sema bodies of param
   expressions.
 * fix `Sema.resolveInferredErrorSetTy` when passed `anyerror`.

```

## Parents

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

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