# fix std.meta.eql for comptime-only union · gitcafe/zig

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

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

Visibility: public

Requested revision: 0ffeec4b4d3c0321cac618557e829571fa997881

Requested commit: 0ffeec4b4d3c0321cac618557e829571fa997881

Commit: 0ffeec4b4d3c0321cac618557e829571fa997881

Tree: 4c10fee4af96038ac3325f1817dc73847cc92bf6

Author: rohlem

Committer: rohlem

## Message

```
fix std.meta.eql for comptime-only union

switch from `inline for` with `std.mem.eql`
to `inline else` and tag comparison.

add previously-failing test code.

```

## Parents

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

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