aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/src_outside_function.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-07-13 00:40:16 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-07-18 19:02:06 -0700
commit927f6ec8ca2234e8c4f27174359d5053da63a77d (patch)
tree7e09d07b142f12e5ae4ff94ff48fa7e63ba96f87 /test/cases/compile_errors/src_outside_function.zig
parent82db06fa673dabc640c4c954df0dee7a8a6d3bfc (diff)
downloadzig-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