# fix crash when implicitly casting array of len 0 to slice · gitcafe/zig

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

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

Visibility: public

Requested revision: d686113bd2b2e2207137de6ef81e515bc4a3aa07

Requested commit: d686113bd2b2e2207137de6ef81e515bc4a3aa07

Commit: d686113bd2b2e2207137de6ef81e515bc4a3aa07

Tree: b39a465aa6ea298a4e6226e3cafb028d35807d61

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix crash when implicitly casting array of len 0 to slice

closes #660

```

## Parents

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

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