# add compile error for compile-time integer cast truncating bits · gitcafe/zig

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

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

Visibility: public

Requested revision: 9851a943ed0360433c9612449ed065a6800adc51

Requested commit: 9851a943ed0360433c9612449ed065a6800adc51

Commit: 9851a943ed0360433c9612449ed065a6800adc51

Tree: dcf15bcb1dd31da8ba975dd2594d7a89f5ca46ae

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add compile error for compile-time integer cast truncating bits

closes #371

```

## Parents

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

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