src/AstGen.zig | 9 -- src/Sema.zig | 168 ++++++++++++++++---------------- src/print_zir.zig | 15 ++- src/type.zig | 5 +- test/behavior.zig | 1 + test/behavior/empty_union.zig | 54 ++++++++++ test/cases/compile_errors/enum_with_0_fields.zig | 7 -- test/cases/compile_errors/reify_type_for_exhaustive_enum_with_zero_fields.zig | 18 ---- test/cases/compile_errors/reify_type_for_union_with_zero_fields.zig | 17 ---- test/cases/compile_errors/union_fields_with_value_assignments.zig | 7 -- test/cases/compile_errors/union_with_0_fields.zig | 7 -- test/cases/compile_errors/using_invalid_types_in_function_call_raises_an_error.zig | 11 --- test/stage2/cbe.zig | 9 -- 13 files changed, 153 insertions(+), 175 deletions(-)