# fix crash assigning optional struct with anon literal · gitcafe/zig

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

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

Visibility: public

Requested revision: 6d8550a7dfecc3f8fcf2e1ff869921ce48ca1683

Requested commit: 6d8550a7dfecc3f8fcf2e1ff869921ce48ca1683

Commit: 6d8550a7dfecc3f8fcf2e1ff869921ce48ca1683

Tree: 6b1917e2a9bf25c899044e12b050e2b6fe454b98

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix crash assigning optional struct with anon literal

closes #3827

```

## Parents

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

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