aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-10-26 03:49:16 -0400
committerGitHub <noreply@github.com>2023-10-26 03:49:16 -0400
commitba817fae8f5f71469ae6ac70fc61b9d3a0e19335 (patch)
tree03ab9b4214484497990249099af9b41b292f350a /src/Compilation.zig
parentcc394431ae6eb69e7abd677c268a8ab7299f8aeb (diff)
parentcf9735a5e06d302a29d70c737aefd505ca34e0fa (diff)
downloadzig-ba817fae8f5f71469ae6ac70fc61b9d3a0e19335.tar.gz
zig-ba817fae8f5f71469ae6ac70fc61b9d3a0e19335.zip
Merge pull request #17690
Sema: move remaining anon decls to new mechanism
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index 30dbfe9ce1..efc95bfe25 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -3556,7 +3556,7 @@ fn processOneJob(comp: *Compilation, job: Job, prog_node: *std.Progress.Node) !v
.gpa = gpa,
.module = module,
.error_msg = null,
- .decl_index = decl_index.toOptional(),
+ .pass = .{ .decl = decl_index },
.is_naked_fn = false,
.fwd_decl = fwd_decl.toManaged(gpa),
.ctypes = .{},