- Increase precedence of (Foo) { 1, 2 }

- Add `--enable-new-generics` to enable `Foo{int}` generic syntax.
This commit is contained in:
Christoffer Lerno
2025-02-18 00:07:09 +01:00
committed by Christoffer Lerno
parent c41d551ead
commit e77d1fb646
27 changed files with 139 additions and 73 deletions

View File

@@ -33,7 +33,7 @@ struct ArenaAllocatorHeader @local
macro ArenaAllocator* wrap(char[] bytes)
{
return ArenaAllocator{}.init(bytes);
return (ArenaAllocator){}.init(bytes);
}
<*