# add compile error for assigning through const · gitcafe/zig

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

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

Visibility: public

Requested revision: 56f83257993f92869049b53e8c72e03abdce9547

Requested commit: 56f83257993f92869049b53e8c72e03abdce9547

Commit: 56f83257993f92869049b53e8c72e03abdce9547

Tree: d273f8eda971432ab8b5c11052432f24df55d9e3

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add compile error for assigning through const

pointer and slice

closes #188

```

## Parents

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

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