# translate-c: handle signed array subscripts · gitcafe/zig

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

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

Visibility: public

Requested revision: 8028e46f0150842df4ac6fc050dca8dc58ae5f18

Requested commit: 8028e46f0150842df4ac6fc050dca8dc58ae5f18

Commit: 8028e46f0150842df4ac6fc050dca8dc58ae5f18

Tree: ef09f706a9012e5e2be5615dd01cffe94dcf74c9

Author: Evan Haas

Committer: Andrew Kelley

## Message

```
translate-c: handle signed array subscripts

A rather complicated workaround for handling signed array subscripts.
Once `[*]T + isize` is allowed, this can be removed.

Fixes #8556

```

## Parents

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

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