# Add compile error when shifting amount is not an int type · gitcafe/zig

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

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

Visibility: public

Requested revision: 866c253e0ee9dd666ba715ebafecb889c8066367

Requested commit: 866c253e0ee9dd666ba715ebafecb889c8066367

Commit: 866c253e0ee9dd666ba715ebafecb889c8066367

Tree: 4c248f22f342e12a916d3b5db53262bd619a9296

Author: Timon Kruiper

Committer: Andrew Kelley

## Message

```
Add compile error when shifting amount is not an int type

```

## Parents

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

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