# Merge pull request \#11043 from topolarity/ptr-fixes · gitcafe/zig

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

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

Visibility: public

Requested revision: e91c16e38b58611217f225d002a3321aa24bb47f

Requested commit: e91c16e38b58611217f225d002a3321aa24bb47f

Commit: e91c16e38b58611217f225d002a3321aa24bb47f

Tree: e86a89067a08d9c14d01334b4f054b51637afdb8

Author: Andrew Kelley

Committer: GitHub

## Message

```
Merge pull request #11043 from topolarity/ptr-fixes

stage2: Improve `@ptrCast` support for sliced/optional operands
```

## Parents

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

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

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