# Sema: ensure that \`\!is_comptime and \!is_typeof\` implies \`sema.func \!= null\` · gitcafe/zig

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

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

Visibility: public

Requested revision: a760ce598c7656f7582d8305582e374af68254d9

Requested commit: a760ce598c7656f7582d8305582e374af68254d9

Commit: a760ce598c7656f7582d8305582e374af68254d9

Tree: 71c72be4fd51f4e3e9d911bba7cab51431baaa51

Author: Veikka Tuominen

Committer: Veikka Tuominen

## Message

```
Sema: ensure that `!is_comptime and !is_typeof` implies `sema.func != null`

Closes #13481

```

## Parents

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

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