# ir: Create usize result_loc for array subscript expr · gitcafe/zig

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

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

Visibility: public

Requested revision: e2fd289a33bb35cf4b86daa4d80adb7cc0c2c2b0

Requested commit: e2fd289a33bb35cf4b86daa4d80adb7cc0c2c2b0

Commit: e2fd289a33bb35cf4b86daa4d80adb7cc0c2c2b0

Tree: abb7d449b2d8e6d505e4ef4598793e3bbe711b16

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
ir: Create usize result_loc for array subscript expr

Allow the subscript expression to infer the resulting type.

Closes #4169

```

## Parents

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

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