# Merge pull request \#21231 from mlugg/field-decl-name-conflict · gitcafe/zig

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

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

Visibility: public

Requested revision: d997ddaa102bb9ba5f1e8480b8c78f7d102b5512

Requested commit: d997ddaa102bb9ba5f1e8480b8c78f7d102b5512

Commit: d997ddaa102bb9ba5f1e8480b8c78f7d102b5512

Tree: 57905ad345e6e4e7cebdb4597b6790f073dfa0b1

Author: Matthew Lugg

Committer: GitHub

## Message

```
Merge pull request #21231 from mlugg/field-decl-name-conflict

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

## Parents

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

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

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