# add compile error for globally shadowing a primitive type · gitcafe/zig

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

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

Visibility: public

Requested revision: cd2f65ff6ace9f1e426d5e8a4721666d347b289d

Requested commit: cd2f65ff6ace9f1e426d5e8a4721666d347b289d

Commit: cd2f65ff6ace9f1e426d5e8a4721666d347b289d

Tree: 54231420872d0d852ad2f8bc2e2f3bbabd88ac7a

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add compile error for globally shadowing a primitive type

closes #423

```

## Parents

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

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