aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-07-12 00:18:29 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-07-12 00:18:29 -0700
commit67e3e4989d5dc654ce5fef87d5a974caa05b9733 (patch)
tree500cb70cb5b69bea25ae3a3f378feb99a96edc11 /src
parent5a34e6c3e608e1f526bababd3a2a146f6216d045 (diff)
downloadzig-67e3e4989d5dc654ce5fef87d5a974caa05b9733.tar.gz
zig-67e3e4989d5dc654ce5fef87d5a974caa05b9733.zip
Compilation: fix rebase conflict
Diffstat (limited to 'src')
-rw-r--r--src/Compilation.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig
index a0cf2378da..94ce0ee267 100644
--- a/src/Compilation.zig
+++ b/src/Compilation.zig
@@ -2180,7 +2180,8 @@ pub fn update(comp: *Compilation, main_progress_node: std.Progress.Node) !void {
comp.astgen_work_queue.writeItemAssumeCapacity(file_index);
}
if (comp.file_system_inputs) |fsi| {
- for (zcu.import_table.values()) |file| {
+ for (zcu.import_table.values()) |file_index| {
+ const file = zcu.fileByIndex(file_index);
try comp.appendFileSystemInput(fsi, file.mod.root, file.sub_file_path);
}
}