# ir: Correct ABI size calculation for arrays · gitcafe/zig

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

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

Visibility: public

Requested revision: 1479c28b496e7c1db134b51f23dd2eb934b123bb

Requested commit: 1479c28b496e7c1db134b51f23dd2eb934b123bb

Commit: 1479c28b496e7c1db134b51f23dd2eb934b123bb

Tree: 58c01e7e6308e50c20d352b7ce7106c1152641ef

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
ir: Correct ABI size calculation for arrays

Zero-length array with a sentinel may not have zero size.

Closes #4749

```

## Parents

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

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