var child: tuple[name: string, age: int]
type Color = enum cRed, cBlue, cGreen
type Color = enum[cRed, cBlue, cGreen]
The tuple declaration is declaring one identifier with multiple fields. The names of the field are only legal as, well, fields of the outer object.
The tuple declaration is declaring one identifier with multiple fields. The names of the field are only legal as, well, fields of the outer object.