# Sema: fix compiler crash with comptime arithmetic involving \`@ptrToInt\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 288e89b606b46328a5ab358b2eef2c5dc277bc8f

Requested commit: 288e89b606b46328a5ab358b2eef2c5dc277bc8f

Commit: 288e89b606b46328a5ab358b2eef2c5dc277bc8f

Tree: ce898990af2eec71a7d515cc317b7e7b096d76b5

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: fix compiler crash with comptime arithmetic involving `@ptrToInt`

```

## Parents

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

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