# Add missing compile error when ptr used instead of array · gitcafe/zig

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

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

Visibility: public

Requested revision: 32c89531b1475ce8e3b8efdf7a07745da7bc854a

Requested commit: 32c89531b1475ce8e3b8efdf7a07745da7bc854a

Commit: 32c89531b1475ce8e3b8efdf7a07745da7bc854a

Tree: 848ea8ac81eabbe6293eacdfc16210b1d6973a99

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Add missing compile error when ptr used instead of array

in array literals.

Fixes #3524

```

## Parents

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

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