# Sema: comptime loads and stores for \`elem_ptr\` · gitcafe/zig

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

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

Visibility: public

Requested revision: b019a19b5546d51865175359ec1ae8e5aa3f4128

Requested commit: b019a19b5546d51865175359ec1ae8e5aa3f4128

Commit: b019a19b5546d51865175359ec1ae8e5aa3f4128

Tree: 72bc02abdac799f9aa3eeee9714cc8c13fe4bc49

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: comptime loads and stores for `elem_ptr`

The index is checked against actual array lengths, and now handles
coerced or casted pointers to single items.

```

## Parents

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

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