# add compile error for shadowing variable · gitcafe/zig

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

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

Visibility: public

Requested revision: 0940d46c0160683fb5a28f66589e53ec5b64241d

Requested commit: 0940d46c0160683fb5a28f66589e53ec5b64241d

Commit: 0940d46c0160683fb5a28f66589e53ec5b64241d

Tree: 1b762e3c124b68c00db161efe6f076f61730f4b6

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add compile error for shadowing variable

closes #360

```

## Parents

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

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