# Implement @Type for Union · gitcafe/zig

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

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

Visibility: public

Requested revision: ff2ed966bb37079217ee7a7753cb63a763b8c3b5

Requested commit: ff2ed966bb37079217ee7a7753cb63a763b8c3b5

Commit: ff2ed966bb37079217ee7a7753cb63a763b8c3b5

Tree: 9c30a132c3b3cc8b37bc7c94421355491ef5a319

Author: Tadeo Kondrak

Committer: Tadeo Kondrak

## Message

```
Implement @Type for Union

This removes TypeInfo.UnionField.enum_field, which is redundant with
TypeInfo.Union.tag_type.

```

## Parents

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

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