DzLox

:)
git clone https://git.sr.ht/~ashymad/DzLox
Log | Files | Refs | Submodules | LICENSE

commit 984223b8bd9855452cdc43920e27261c6b0d680a
parent d20c92698e4535a7ff4676401b9c6c6f379cdbb6
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date:   Tue, 18 Nov 2025 17:46:33 +0100

Fix crash at exit

Diffstat:
Mzlox/src/gc.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zlox/src/gc.zig b/zlox/src/gc.zig @@ -95,7 +95,7 @@ pub const GC = struct { pub fn deinit(self: *Self) void { while (true) { const el = self.list.pop() catch break; - dbg_print("Freeing {any} at 0x{x}: {f}\n", .{ el.type, @intFromPtr(el), el }); + dbg_print("Freeing {any} at 0x{x}\n", .{ el.type, @intFromPtr(el)}); el.free(self.allocator); } self.list.free();