# Reject undefined as type · gitcafe/zig

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

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

Visibility: public

Requested revision: 528c151a55a76451b278057c40b29242241a70fd

Requested commit: 528c151a55a76451b278057c40b29242241a70fd

Commit: 528c151a55a76451b278057c40b29242241a70fd

Tree: 6a65d948a79147b405e3c9b3e3d025cafc73d9b1

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
Reject undefined as type

Make analyze_type_expr behave like ir_resolve_type when the user tries
to use `undefined` as a type.

Closes #2436

```

## Parents

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

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