# Merge pull request \#13360 from topolarity/comptime-bool-binops · gitcafe/zig

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

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

Visibility: public

Requested revision: ef761c2cbc5c9a06da5c09de389a1d778731d170

Requested commit: ef761c2cbc5c9a06da5c09de389a1d778731d170

Commit: ef761c2cbc5c9a06da5c09de389a1d778731d170

Tree: 5a3916c4bad25344395cde1913548f800f79aa05

Author: Andrew Kelley

Committer: GitHub

## Message

```
Merge pull request #13360 from topolarity/comptime-bool-binops

Make `x and false` and `x or true` comptime-known
```

## Parents

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

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

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