# fix assertion when taking slice of zero-length array · gitcafe/zig

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

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

Visibility: public

Requested revision: 44ae891bd79cc8b2f9040a39c176317ebf4a4ef8

Requested commit: 44ae891bd79cc8b2f9040a39c176317ebf4a4ef8

Commit: 44ae891bd79cc8b2f9040a39c176317ebf4a4ef8

Tree: 3d4586803b1549dc64a8ad977ba39f03d4b74b68

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix assertion when taking slice of zero-length array

closes #788

```

## Parents

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

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