# make Zir.Inst.Index typed · gitcafe/zig

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

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

Visibility: public

Requested revision: 62f45b802cab1337590d5c3397fca7b84d3a819b

Requested commit: 62f45b802cab1337590d5c3397fca7b84d3a819b

Commit: 62f45b802cab1337590d5c3397fca7b84d3a819b

Tree: c0fef2d53bcd71009e6dc4f90a9aeb0f35386ca7

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
make Zir.Inst.Index typed

This commit starts by making Zir.Inst.Index a nonexhaustive enum rather
than a u32 alias for type safety purposes, and the rest of the changes
are needed to get everything compiling again.

```

## Parents

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

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