diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-07-16 10:47:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-16 10:47:42 -0700 |
| commit | a58ceb3d554a9565a6cc0443f6384149ae2b3145 (patch) | |
| tree | af66e289a0ae028be92389722979ed270b42ee42 /src/Sema.zig | |
| parent | a9d544575d5bd2a939b09b8f088bee5d8ff7b0d9 (diff) | |
| parent | 7dbd2a6bb549afa6dc3c95df46f40bf144db23a6 (diff) | |
| download | zig-a58ceb3d554a9565a6cc0443f6384149ae2b3145.tar.gz zig-a58ceb3d554a9565a6cc0443f6384149ae2b3145.zip | |
Merge pull request #20646 from ziglang/fix-updateZirRefs
frontend: fix updateZirRefs
Diffstat (limited to 'src/Sema.zig')
| -rw-r--r-- | src/Sema.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sema.zig b/src/Sema.zig index d0b14434f3..63632e9f0f 100644 --- a/src/Sema.zig +++ b/src/Sema.zig @@ -6065,7 +6065,7 @@ fn zirCImport(sema: *Sema, parent_block: *Block, inst: Zir.Inst.Index) CompileEr const path_digest = zcu.filePathDigest(result.file_index); const root_decl = zcu.fileRootDecl(result.file_index); - pt.astGenFile(result.file, result.file_index, path_digest, root_decl) catch |err| + pt.astGenFile(result.file, path_digest, root_decl) catch |err| return sema.fail(&child_block, src, "C import failed: {s}", .{@errorName(err)}); try pt.ensureFileAnalyzed(result.file_index); |
