struct field writes

This commit is contained in:
nora 2023-08-05 14:05:41 +02:00
parent a6fea036d0
commit 5bac67b84c
7 changed files with 279 additions and 112 deletions

View file

@ -1,5 +1,6 @@
extern mod std;
type A = struct { a: Int };
function main() = (
std.printInt(10);
let a = A { a: 0 };
a.a = 1;
);