Compounds for structs

This commit is contained in:
Krzosa Karol
2022-06-11 23:48:17 +02:00
parent e085bce77a
commit 6a612cf1b4
4 changed files with 45 additions and 6 deletions

View File

@@ -62,3 +62,10 @@ thing0 :: 10
thing1 :: thing0 + 11
thing2 :: thing1 + 20
combin :: thing0 + thing1 + thing2
Some :: struct
len: S64
cap: S64
some := Some{3, 2}
other := Some{len = 1, cap = 3}