# AstGen: use 'shadows' instead of 'redeclaration' when names are in different scopes · gitcafe/zig

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

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

Visibility: public

Requested revision: 29ae6515f3adc23df3d889acaf7ec62a2d01b707

Requested commit: 29ae6515f3adc23df3d889acaf7ec62a2d01b707

Commit: 29ae6515f3adc23df3d889acaf7ec62a2d01b707

Tree: f774b68521f6aca221628201408e47b2b24f481a

Author: Veikka Tuominen

Committer: Veikka Tuominen

## Message

```
AstGen: use 'shadows' instead of 'redeclaration' when names are in different scopes

Closes #8532

```

## Parents

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

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