# fix crash when unwrapping optional field of global variable · gitcafe/zig

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

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

Visibility: public

Requested revision: 8ae4ffa49357a4939985884285fef39e86f5f705

Requested commit: 8ae4ffa49357a4939985884285fef39e86f5f705

Commit: 8ae4ffa49357a4939985884285fef39e86f5f705

Tree: 76d0f2c8e9107a19717e7879620302fe2193a02d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix crash when unwrapping optional field of global variable

closes #379

```

## Parents

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

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