# different array literal syntax when inferring the size · gitcafe/zig

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

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

Visibility: public

Requested revision: b735764898412c5b9388fdf729c8ad8db43ddde5

Requested commit: b735764898412c5b9388fdf729c8ad8db43ddde5

Commit: b735764898412c5b9388fdf729c8ad8db43ddde5

Tree: 1a5873e654ff7189b236acc15516b9c6cd35a315

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
different array literal syntax when inferring the size

old syntax:  []i32{1, 2, 3}
new syntax: [_]i32{1, 2, 3}

closes #1797

```

## Parents

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

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