# compile error for using slice as array init expr type · gitcafe/zig

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

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

Visibility: public

Requested revision: 1ccf6a2c9e7b42214be07185467e7ae7029a0aa5

Requested commit: 1ccf6a2c9e7b42214be07185467e7ae7029a0aa5

Commit: 1ccf6a2c9e7b42214be07185467e7ae7029a0aa5

Tree: 68b55a9364267c7ee98f42a2f70f30eecb03fabf

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
compile error for using slice as array init expr type

when there are more than 0 elements.

closes #2764

```

## Parents

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

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