# ir: Fix array to slice conversion for zero-sized arrays · gitcafe/zig

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

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

Visibility: public

Requested revision: e9bac8be6b45434f107d2a0d8d4f8fd16de185c6

Requested commit: e9bac8be6b45434f107d2a0d8d4f8fd16de185c6

Commit: e9bac8be6b45434f107d2a0d8d4f8fd16de185c6

Tree: 604d76d1fb6d576d017e92a7cf04474e878f371e

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
ir: Fix array to slice conversion for zero-sized arrays

Closes #3848

```

## Parents

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

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