zig/test/behavior
Andrew Kelley ada0010471 compiler: move unions into InternPool
There are a couple concepts here worth understanding:

Key.UnionType - This type is available *before* resolving the union's
fields. The enum tag type, number of fields, and field names, field
types, and field alignments are not available with this.

InternPool.UnionType - This one can be obtained from the above type with
`InternPool.loadUnionType` which asserts that the union's enum tag type
has been resolved. This one has all the information available.

Additionally:

* ZIR: Turn an unused bit into `any_aligned_fields` flag to help
  semantic analysis know whether a union has explicit alignment on any
  fields (usually not).
* Sema: delete `resolveTypeRequiresComptime` which had the same type
  signature and near-duplicate logic to `typeRequiresComptime`.
  - Make opaque types not report comptime-only (this was inconsistent
    between the two implementations of this function).
* Implement accepted proposal #12556 which is a breaking change.
2023-08-22 13:54:14 -07:00
..
2023-06-25 14:51:03 -07:00
2023-07-31 03:49:21 -04:00
2023-05-20 17:30:22 +02:00
2023-07-26 19:02:02 -07:00
2023-05-31 18:04:33 +02:00
2023-07-31 03:49:21 -04:00
2023-08-21 11:26:25 -07:00
2023-05-20 17:30:22 +02:00
2023-07-31 01:58:10 -04:00
2023-07-26 22:19:30 -07:00
2023-06-27 19:57:23 -04:00
2022-01-07 00:06:06 -05:00
2023-07-31 03:49:21 -04:00
2023-07-31 03:49:21 -04:00
2023-08-09 05:46:44 -04:00
2023-05-20 18:43:26 +03:30
2023-05-20 17:30:22 +02:00
2023-05-11 20:31:52 +02:00
2023-05-20 17:30:22 +02:00
2023-05-20 17:30:22 +02:00
2023-07-31 03:49:21 -04:00
2023-05-11 20:31:52 +02:00
2023-05-18 20:42:38 -04:00