Better checks for missing @dynamic. Addresses #1055.

This commit is contained in:
Christoffer Lerno
2023-10-28 04:10:06 +02:00
parent e17bb5f321
commit e4c1328ef2
3 changed files with 7 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ fn TempAllocator*! new_temp(usz size, Allocator* using)
return allocator;
}
fn usz TempAllocator.mark(&self) => self.used;
fn usz TempAllocator.mark(&self) @dynamic => self.used;
fn void TempAllocator.release(&self, void* old_pointer, bool) @dynamic
{