# Sema: fix and improve errors for \`for\` loop objects and non-indexables · gitcafe/zig

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

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

Visibility: public

Requested revision: 3485a0e7fbff913e6c934fbc843a02ac08f024f2

Requested commit: 3485a0e7fbff913e6c934fbc843a02ac08f024f2

Commit: 3485a0e7fbff913e6c934fbc843a02ac08f024f2

Tree: b1565b93bd8d6ea9a47e734204faa309fdc3f597

Author: r00ster91

Committer: r00ster91

## Message

```
Sema: fix and improve errors for `for` loop objects and non-indexables

Operands to @memcpy and @memset were being called "for loop operands" in
the error.

```

## Parents

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

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