# Sema,type: unify type query functions · gitcafe/zig

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

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

Visibility: public

Requested revision: 1033d71017c9c40bd55f1743cd7990024c892af7

Requested commit: 1033d71017c9c40bd55f1743cd7990024c892af7

Commit: 1033d71017c9c40bd55f1743cd7990024c892af7

Tree: 542fed262152767a305316cd5c71a5f4c7328965

Author: mlugg

Committer: Andrew Kelley

## Message

```
Sema,type: unify type query functions

The following pairs of functions have been combined using the "advanced"
pattern used for other type queries:

* `Sema.fnHasRuntimeBits`, `Type.isFnOrHasRuntimeBits`
* `Sema.typeRequiresComptime`, `Type.comptimeOnly`

```

## Parents

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

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