aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorjacob gw <jacoblevgw@gmail.com>2021-04-06 17:19:34 -0400
committerAndrew Kelley <andrew@ziglang.org>2021-04-08 23:17:36 -0700
commit99ec511c4c62d22c88a57395e169948140c5b712 (patch)
tree3a4e8a85ea89af1a53421956f97d635f3a1fe4c5 /src/main.zig
parentc28d1fe1733eb150f956b1eb0d01d79496e7378c (diff)
downloadzig-99ec511c4c62d22c88a57395e169948140c5b712.tar.gz
zig-99ec511c4c62d22c88a57395e169948140c5b712.zip
stage2: pretty print compilation errors
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig
index 5fb74db61f..032703a460 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -2107,7 +2107,7 @@ fn updateModule(gpa: *Allocator, comp: *Compilation, hook: AfterUpdateHook) !voi
if (errors.list.len != 0) {
for (errors.list) |full_err_msg| {
- full_err_msg.renderToStdErr();
+ try full_err_msg.renderToStdErr(comp.bin_file.options.module);
}
const log_text = comp.getCompileLogOutput();
if (log_text.len != 0) {