diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-07-12 00:18:29 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-07-12 00:18:29 -0700 |
| commit | 67e3e4989d5dc654ce5fef87d5a974caa05b9733 (patch) | |
| tree | 500cb70cb5b69bea25ae3a3f378feb99a96edc11 /src/Compilation.zig | |
| parent | 5a34e6c3e608e1f526bababd3a2a146f6216d045 (diff) | |
| download | zig-67e3e4989d5dc654ce5fef87d5a974caa05b9733.tar.gz zig-67e3e4989d5dc654ce5fef87d5a974caa05b9733.zip | |
Compilation: fix rebase conflict
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 3 |
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); } } |
