Added new style named arguments.

This commit is contained in:
Christoffer Lerno
2024-08-27 22:31:22 +02:00
parent e795745e43
commit ed5d338a39
42 changed files with 405 additions and 304 deletions

View File

@@ -146,7 +146,7 @@ fn void panicf(String fmt, String file, String function, uint line, args...)
@stack_mem(512; Allocator allocator)
{
DString s;
s.new_init(.allocator = allocator);
s.new_init(allocator: allocator);
s.appendf(fmt, ...args);
in_panic = false;
panic(s.str_view(), file, function, line);