# stage2: cleanups from previous commits · gitcafe/zig

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

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

Visibility: public

Requested revision: d73a4940e0d907e017ce60d0a7183cd1618b3b39

Requested commit: d73a4940e0d907e017ce60d0a7183cd1618b3b39

Commit: d73a4940e0d907e017ce60d0a7183cd1618b3b39

Tree: d93dccb6abb70e09d69a3c09d30b8fdedc5a200f

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: cleanups from previous commits

Change some ZIR instructions from un_tok to un_node. Idea here is to
avoid needlessly accessing the tokens array.

Go ahead and finish the catch code in orelseCatchExpr. Otherwise it
would be an easy mistake to get the scopes wrong when updating that
code and introduce a bug.

Delete a function that is now dead code.

```

## Parents

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

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