Andrew Kelley 7453f56e67 stage2: explicitly tagged enums no longer have one possible value
Previously, Zig had inconsistent semantics for an enum like this:

`enum(u8){zero = 0}`

Although in theory this can only hold one possible value, the tag
`zero`, Zig no longer will treat the type this way. It will do loads and
stores, as if the type has runtime bits.

Closes #12619

Tests passed locally:
 * test-behavior
 * test-cases
2022-08-24 22:20:31 -07:00
..
2022-02-22 21:57:42 +01:00
2021-06-21 17:03:03 -07:00
2022-03-05 11:31:51 +01:00
2022-03-09 13:53:20 -07:00
2022-07-23 15:40:11 +03:00
2022-03-09 13:53:20 -07:00
2022-03-09 13:53:20 -07:00
2022-03-08 21:10:04 +01:00
2022-03-18 15:02:52 -07:00
2022-02-09 10:28:48 +01:00
2022-03-09 13:53:20 -07:00
2022-03-26 21:20:29 +01:00
2022-03-23 21:40:33 +01:00
2022-03-09 13:53:20 -07:00
2022-03-23 21:40:33 +01:00
2022-05-26 21:58:19 -07:00
2022-03-23 21:40:33 +01:00
2022-05-26 21:58:19 -07:00
2022-05-27 10:29:24 +03:00