diff options
| author | Matthew Lugg <mlugg@mlugg.co.uk> | 2024-06-20 11:07:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-20 11:07:17 +0100 |
| commit | f73be120f4254c080c48081dfc5834a7ebc9d9cf (patch) | |
| tree | e70598bed09659eb61c230620c1ddf88c14db905 /src/main.zig | |
| parent | ccd3cc3266762c1fea93cdc0190eaf71718d9e6a (diff) | |
| parent | 2b677d1660018434757f9c9efec3c712675e6c47 (diff) | |
| download | zig-f73be120f4254c080c48081dfc5834a7ebc9d9cf.tar.gz zig-f73be120f4254c080c48081dfc5834a7ebc9d9cf.zip | |
Merge pull request #20299 from mlugg/the-great-decl-split
The Great Decl Split (preliminary work): refactor source locations and eliminate `Sema.Block.src_decl`.
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig index 4f68ae908f..ba3085b72d 100644 --- a/src/main.zig +++ b/src/main.zig @@ -5966,6 +5966,7 @@ fn cmdAstCheck( .zir = undefined, .mod = undefined, .root_decl = .none, + .path_digest = undefined, }; if (zig_source_file) |file_name| { var f = fs.cwd().openFile(file_name, .{}) catch |err| { @@ -6284,6 +6285,7 @@ fn cmdDumpZir( .zir = try Module.loadZirCache(gpa, f), .mod = undefined, .root_decl = .none, + .path_digest = undefined, }; defer file.zir.deinit(gpa); @@ -6354,6 +6356,7 @@ fn cmdChangelist( .zir = undefined, .mod = undefined, .root_decl = .none, + .path_digest = undefined, }; file.mod = try Package.Module.createLimited(arena, .{ |
