From 0c1d8659c51d9544fb8d5de7481e750149c262ae Mon Sep 17 00:00:00 2001 From: Veikka Tuominen Date: Mon, 19 Dec 2022 16:30:09 +0200 Subject: Sema: print notes and reference traces when using `--debug-compile-errors` --- src/Compilation.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Compilation.zig') diff --git a/src/Compilation.zig b/src/Compilation.zig index 1d0997d20c..b385fa5f72 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -572,7 +572,7 @@ pub const AllErrors = struct { self.arena.promote(gpa).deinit(); } - fn add( + pub fn add( module: *Module, arena: *std.heap.ArenaAllocator, errors: *std.ArrayList(Message), -- cgit v1.2.3