# AstGen: disallow fields and decls from sharing names · gitcafe/zig

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

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

Visibility: public

Requested revision: 401910a2ca8e4b9689180c63d0b8e190adcf7cfa

Requested commit: 401910a2ca8e4b9689180c63d0b8e190adcf7cfa

Commit: 401910a2ca8e4b9689180c63d0b8e190adcf7cfa

Tree: 681fb4f8bdfe0fe3fd2eeedfd9c25f96b91ab844

Author: mlugg

Committer: mlugg

## Message

```
AstGen: disallow fields and decls from sharing names

This is a mini-proposal which is accepted as part of #9938.

This compiler and standard library need some changes to obey this rule.

```

## Parents

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

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