# frontend: fix inferred error sets of comptime/inline calls · gitcafe/zig

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

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

Visibility: public

Requested revision: 927f6ec8ca2234e8c4f27174359d5053da63a77d

Requested commit: 927f6ec8ca2234e8c4f27174359d5053da63a77d

Commit: 927f6ec8ca2234e8c4f27174359d5053da63a77d

Tree: 7e09d07b142f12e5ae4ff94ff48fa7e63ba96f87

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
frontend: fix inferred error sets of comptime/inline calls

Previously, they shared function index with the owner decl, but that
would clobber the data stored for inferred error sets of runtime calls.

Now there is an adhoc_inferred_error_set_type which models the problem
much more correctly.

```

## Parents

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

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