10 lines
260 B
Text
10 lines
260 B
Text
|
Error: No such field
|
||
|
╭─[assignment-tuple-field.txt:2:5]
|
||
|
│
|
||
|
2 │ foo.first = 0;
|
||
|
· ──┬──
|
||
|
· ╰──── tuples don't have named fields
|
||
|
·
|
||
|
· Help: To access the first element in a tuple, use `.0`
|
||
|
───╯
|