# Sema: more validation for builtin decl types · gitcafe/zig

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

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

Visibility: public

Requested revision: 4b910e525d97276c64e98832663f0acfe8ff5cfb

Requested commit: 4b910e525d97276c64e98832663f0acfe8ff5cfb

Commit: 4b910e525d97276c64e98832663f0acfe8ff5cfb

Tree: 2dfbf6c657f1593aee37f9281e182224b8514cad

Author: mlugg

Committer: Matthew Lugg

## Message

```
Sema: more validation for builtin decl types

Also improve the source locations when this validation fails.

Resolves: #22465

```

## Parents

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

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