From 1ca77f60626666fba792db407dd11ea9b597d9cf Mon Sep 17 00:00:00 2001 From: lemon Date: Tue, 16 Aug 2022 09:19:33 +0200 Subject: binary operators and more stuff --- src/fmt.cff | 1 + 1 file changed, 1 insertion(+) (limited to 'src/fmt.cff') diff --git a/src/fmt.cff b/src/fmt.cff index 53eeb56..10508b9 100644 --- a/src/fmt.cff +++ b/src/fmt.cff @@ -132,6 +132,7 @@ extern fn vpfmt(proc *fn(u8, *void) void, parg *void, fmt *const u8, ap va_list) } fn pritype(proc typeof(proc), parg *void, ty *const Type) void { + assert(ty != #null, "pritype"); if ty.konst { ps("const "); } -- cgit v1.2.3