Updated stdlib to experimental allocator first. Updates to DString, String and anything using new_* syntax.

This commit is contained in:
Christoffer Lerno
2025-02-23 22:54:48 +01:00
parent 4f72bc4be9
commit 70029cc4b8
43 changed files with 248 additions and 384 deletions

View File

@@ -525,7 +525,7 @@ fn String BigInt.to_string_with_radix(&self, int radix, Allocator allocator)
{
BigInt a = *self;
DString str;
str.new_init(4096, allocator: mem);
str.init(mem, 4096);
bool negative = self.is_negative();
if (negative)
{