# Sema: perform requested coercion when decl literal demoted to enum literal · gitcafe/zig

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

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

Visibility: public

Requested revision: 55250a9370ae247d52d9d78033880451cb1e9add

Requested commit: 55250a9370ae247d52d9d78033880451cb1e9add

Commit: 55250a9370ae247d52d9d78033880451cb1e9add

Tree: dcab4d53790c01b43aac9e94cbe4d3a84b8e2dca

Author: mlugg

Committer: Matthew Lugg

## Message

```
Sema: perform requested coercion when decl literal demoted to enum literal

Resolves: #21392

```

## Parents

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

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