diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-12-14 23:35:33 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-12-23 22:15:09 -0800 |
| commit | 16bd2e137e56f842a9ff5e015425f9e08eeb97fd (patch) | |
| tree | 4a4b46fd3eeeb52fa964f8753515e8c0ca4a6781 /src/Sema.zig | |
| parent | 4458e423bf2d2cf485031d1f527e407bfc9113df (diff) | |
| download | zig-16bd2e137e56f842a9ff5e015425f9e08eeb97fd.tar.gz zig-16bd2e137e56f842a9ff5e015425f9e08eeb97fd.zip | |
compiler: fix most compilation errors from std.fs changes
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 1f6a577f60..298de783b8 100644 --- a/src/Sema.zig +++ b/src/Sema.zig @@ -2679,7 +2679,7 @@ pub fn failWithOwnedErrorMsg(sema: *Sema, block: ?*Block, err_msg: *Zcu.ErrorMsg Compilation.addModuleErrorMsg(zcu, &wip_errors, err_msg.*, false) catch @panic("out of memory"); std.debug.print("compile error during Sema:\n", .{}); var error_bundle = wip_errors.toOwnedBundle("") catch @panic("out of memory"); - error_bundle.renderToStderr(io, .{}, .auto); + error_bundle.renderToStderr(io, .{}, .auto) catch @panic("failed to print to stderr"); std.debug.panicExtra(@returnAddress(), "unexpected compile error occurred", .{}); } |
