mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Fix foreach body copy. Moved deref / addr into special functions. Cleaned up access. Remove .sizeof .alignof .qnameof .nameof, create $qnameof $nameof
This commit is contained in:
committed by
Christoffer Lerno
parent
2815a6d02e
commit
9f42ddb68d
@@ -6,7 +6,7 @@ struct Foo
|
||||
long bar;
|
||||
}
|
||||
|
||||
private usize x = Foo.sizeof;
|
||||
private usize x = $sizeof(Foo);
|
||||
|
||||
private Foo foo1 = { 1, 2 };
|
||||
private Foo foo2 = { .foo = 2 };
|
||||
|
||||
Reference in New Issue
Block a user