diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-07-13 00:40:16 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-07-18 19:02:06 -0700 |
| commit | 927f6ec8ca2234e8c4f27174359d5053da63a77d (patch) | |
| tree | 7e09d07b142f12e5ae4ff94ff48fa7e63ba96f87 /test/cases/compile_errors/src_outside_function.zig | |
| parent | 82db06fa673dabc640c4c954df0dee7a8a6d3bfc (diff) | |
| download | zig-927f6ec8ca2234e8c4f27174359d5053da63a77d.tar.gz zig-927f6ec8ca2234e8c4f27174359d5053da63a77d.zip | |
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.
Diffstat (limited to 'test/cases/compile_errors/src_outside_function.zig')
0 files changed, 0 insertions, 0 deletions
