# fix initializing undefined and crash when casting to invalid type · gitcafe/zig

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

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

Visibility: public

Requested revision: ad9f48b74bb5d43b767bdf401002d8bfd57c8813

Requested commit: ad9f48b74bb5d43b767bdf401002d8bfd57c8813

Commit: ad9f48b74bb5d43b767bdf401002d8bfd57c8813

Tree: af4f30fc3ca17ccdcd2824ce23ec859dcc24e191

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix initializing undefined and crash when casting to invalid type

closes #408

```

## Parents

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

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