# Sema: implement struct init is_ref=true · gitcafe/zig

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

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

Visibility: public

Requested revision: 82bd0ac572f14d1e3a13737f4daf00a1ee8041a2

Requested commit: 82bd0ac572f14d1e3a13737f4daf00a1ee8041a2

Commit: 82bd0ac572f14d1e3a13737f4daf00a1ee8041a2

Tree: 38efbcea86e28b16a65d36c8866f4870085f9e44

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: implement struct init is_ref=true

Takes advantage of the pattern already established with
array_init_anon. Also upgrades array_init (non-anon) to the pattern.

Implements comptime struct value equality and pointer value hashing.

```

## Parents

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

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