# Sema: fix coercion from union to its own tag · gitcafe/zig

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

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

Visibility: public

Requested revision: 6df26a37d13d21be061a1cccd39dd17e46a81322

Requested commit: 6df26a37d13d21be061a1cccd39dd17e46a81322

Commit: 6df26a37d13d21be061a1cccd39dd17e46a81322

Tree: 968733ee0b37a9335cf2a9c4d8fe26874618c671

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: fix coercion from union to its own tag

I had reversed the tag type / union type arguments.

```

## Parents

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

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