Files
zig/test/behavior
Andrew Kelley 8509e7111d stage2: fix switch on tagged union capture-by-pointer
* AstGen: always use `typeof` and never `typeof_elem` on the
   `switch_cond`/`switch_cond_ref` instruction because both variants
   return a value and not a pointer.
   - Delete the `typeof_elem` ZIR instruction since it is no longer
     needed.
 * Sema: validateUnionInit now recognizes a comptime mutable value and
   no longer emits a compile error saying "cannot evaluate constant
   expression"
   - Still to-do is detecting comptime union values in a function that
     is not being executed at compile-time.
     - This is still to-do for structs too.
 * Sema: when emitting a call AIR instruction, call resolveTypeLayout on
   all the parameter types as well as the return type.
 * `Type.structFieldOffset` now works for unions in addition to structs.
2021-10-25 15:11:21 -07:00
..
2021-10-21 19:05:26 -07:00
2021-10-21 19:05:26 -07:00
2021-08-01 12:36:04 -07:00
2021-08-30 18:50:07 -04:00
2021-10-05 23:05:14 -07:00
2021-10-05 21:38:47 -07:00
2021-10-21 19:05:26 -07:00
2021-10-21 19:05:26 -07:00
2021-10-21 19:05:26 -07:00
2021-10-21 19:05:26 -07:00
2021-10-24 17:11:43 +02:00
2021-10-05 16:56:46 -07:00
2021-07-26 20:05:48 -04:00
2021-10-20 21:45:11 -07:00
2021-10-20 21:45:11 -07:00