Content deleted Content added
Rewrite Structs and Heap structs examples from scratch with additional mention to initilization by name and by position as well as heap allocation via attribute. |
m Correction of spacing in example for consistency |
||
Line 119:
// Bar is always heap allocated because of its [heap] attribute
var2 := Bar {4.5}
</syntaxhighlight>
|