# stage1: remove incorrect compile error for var redeclaration · gitcafe/zig

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

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

Visibility: public

Requested revision: 9c95f38a7c1defc7f63a4815bfc2d76a5f9f83f6

Requested commit: 9c95f38a7c1defc7f63a4815bfc2d76a5f9f83f6

Commit: 9c95f38a7c1defc7f63a4815bfc2d76a5f9f83f6

Tree: 3182a24f22da9da86b56d8894b4bd603e89e10e3

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage1: remove incorrect compile error for var redeclaration

Locals are not allowed to shadow declarations, but declarations are
allowed to shadow each other, as long as there are no ambiguous
references.

closes #678

```

## Parents

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

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