# refactor type_requires_comptime to have possible error · gitcafe/zig

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

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

Visibility: public

Requested revision: 3d2752cc3677535ddfbeeefba4036633bcab01dc

Requested commit: 3d2752cc3677535ddfbeeefba4036633bcab01dc

Commit: 3d2752cc3677535ddfbeeefba4036633bcab01dc

Tree: 461cb6fc9eaf9ccbc8e6c8ea5207a380ecbcca2b

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
refactor type_requires_comptime to have possible error

fixes a compiler crash when building
https://github.com/AndreaOrru/zen

```

## Parents

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

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