# stage2: implement tuples · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e86ff712a666ab5be54fa763cc12a5f245718117)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: e86ff712a666ab5be54fa763cc12a5f245718117

Requested commit: e86ff712a666ab5be54fa763cc12a5f245718117

Commit: e86ff712a666ab5be54fa763cc12a5f245718117

Tree: 90166386cac32112afbb0c087453cf22938a2702

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: implement tuples

 * AIR instruction vector_init gains the ability to init arrays and
   tuples in addition to vectors. This will probably also gain the
   ability to initialize structs and be renamed to `aggregate_init`.
 * AstGen prefers to use an `anon_array_init` ZIR instruction for
   local variables when the init expr is an array literal and there is
   no type.

```

## Parents

- [eb70f6e8d7f4c1a735fe25de368f6d5459cba16c](https://git.cafe/gitcafe/zig/commit/eb70f6e8d7f4c1a735fe25de368f6d5459cba16c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/e86ff712a666ab5be54fa763cc12a5f245718117?format=markdown)
