2

With a type defined as type BroTuple = distinct tuple[a, b, c: int], how can i:

  • Create a new instance (Brotuple() is telling me Error: object constructor needs an object type)

  • Access to its fields (proc example(br: BroTuple) = echo br.a says: Error: undeclared field: 'a')

4

1 に答える 1