# Sat shl neg rhs \(\#9949\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 16ac034a32e8c8feced3ee67f84ff14767404b76

Requested commit: 16ac034a32e8c8feced3ee67f84ff14767404b76

Commit: 16ac034a32e8c8feced3ee67f84ff14767404b76

Tree: f3d11a635720422f30a31b21cb735a7cb04c8c64

Author: travisstaloch

Committer: GitHub

## Message

```
Sat shl neg rhs (#9949)

* saturating shl - check for negative rhs at comptime

- adds expected compile_errors case for negative rhs

* add expected compile error for sat shl assign
```

## Parents

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

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