Skip to content

Commit 67e3e49

Browse files
committed
Compilation: fix rebase conflict
1 parent 5a34e6c commit 67e3e49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Compilation.zig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2180,7 +2180,8 @@ pub fn update(comp: *Compilation, main_progress_node: std.Progress.Node) !void {
21802180
comp.astgen_work_queue.writeItemAssumeCapacity(file_index);
21812181
}
21822182
if (comp.file_system_inputs) |fsi| {
2183-
for (zcu.import_table.values()) |file| {
2183+
for (zcu.import_table.values()) |file_index| {
2184+
const file = zcu.fileByIndex(file_index);
21842185
try comp.appendFileSystemInput(fsi, file.mod.root, file.sub_file_path);
21852186
}
21862187
}

0 commit comments

Comments
 (0)