Prefer def

This commit is contained in:
Christoffer Lerno
2023-06-02 11:31:07 +02:00
committed by Christoffer Lerno
parent b30d130d92
commit 3e54d13b62
66 changed files with 156 additions and 148 deletions

View File

@@ -1,7 +1,7 @@
typedef Func = fn int(int);
def Func = fn int(int);
typedef Func2 = fn int(Foo*, int);
def Func2 = fn int(Foo*, int);
struct Foo
{

View File

@@ -1,4 +1,4 @@
typedef Foo = int[0]; // #error: An array may not have zero
def Foo = int[0]; // #error: An array may not have zero
struct Bar
{