# Sema: remove \`validateRunTimeType\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 66084b6c3f78349a7730c02614125185df8b6672

Requested commit: 66084b6c3f78349a7730c02614125185df8b6672

Commit: 66084b6c3f78349a7730c02614125185df8b6672

Tree: 3981c3c1d5f1fc036b468e2377be1a1bb14859bc

Author: Jacob Young

Committer: Jacob Young

## Message

```
Sema: remove `validateRunTimeType`

This function does not seem to differ in any interesting way from
`!typeRequiresComptime`, other than the `is_extern` param which is only
used in one place, and some differences did not seem correct anyway.

My reasoning for changing opaque types to be comptime-only is that
`explainWhyTypeIsComptime` is quite happy to explain why they are. :D

```

## Parents

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

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