# stage2: fix orelse at comptime · gitcafe/zig

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

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

Visibility: public

Requested revision: 3c2a9220edd59c2d7b50aca65e4cd0748cf2306f

Requested commit: 3c2a9220edd59c2d7b50aca65e4cd0748cf2306f

Commit: 3c2a9220edd59c2d7b50aca65e4cd0748cf2306f

Tree: d5a15a892c9d0befc08bdeca0778718a2f1bcce4

Author: g-w1

Committer: Andrew Kelley

## Message

```
stage2: fix orelse at comptime

There was just some untested code that did not work. .isnull -> .isnonnull
and I had to add a .ref resultloc to make types match up.

```

## Parents

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

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