zig/test
Andrew Kelley 09e1f37cb6 stage2: implement union coercion to its own tag
* AIR: add `get_union_tag` instruction
   - implement in LLVM backend
 * Sema: implement == and != for union and enum literal
   - Also implement coercion from union to its own tag type
 * Value: implement hashing for union values

The motivating example is this snippet:

    comptime assert(@typeInfo(T) == .Float);

This was the next blocker for stage2 building compiler-rt.
Now it is switch at compile-time on an integer.
2021-09-27 23:11:00 -07:00
..
behavior stage2: implement union coercion to its own tag 2021-09-27 23:11:00 -07:00
src std.build: don't default to static linkage 2021-06-12 14:23:07 +03:00
stage1/c_abi stage1: Expand SysV C ABI support for small structs 2021-07-28 18:13:17 -04:00
stage2 Spelling corrections (#9833) 2021-09-24 13:39:20 -04:00
standalone macho: fix incorrect segment/section growth calculation 2021-09-21 20:22:52 +02:00
assemble_and_link.zig update std lib to new Target API 2020-02-28 14:51:54 -05:00
behavior.zig Stage2: Implement comptime closures and the This builtin (#9823) 2021-09-23 13:17:06 -04:00
cases.zig Fix failing tests and windows link dependencies 2021-09-22 14:39:02 -05:00
cli.zig std: fix regressions from this branch 2021-09-01 17:54:07 -07:00
compare_output.zig std: fix regressions from this branch 2021-09-01 17:54:07 -07:00
compile_errors.zig Spelling corrections (#9833) 2021-09-24 13:39:20 -04:00
gen_h.zig run zig fmt on src/ and test/ 2020-10-31 12:21:49 +02:00
run_translated_c.zig Spelling corrections (#9833) 2021-09-24 13:39:20 -04:00
runtime_safety.zig fix unused variable errors in runtime safety test cases 2021-06-23 10:44:46 -07:00
stack_traces.zig overhaul elf csu (c-runtime startup) logic 2021-05-23 15:38:57 -04:00
standalone.zig macho: fix incorrect segment/section growth calculation 2021-09-21 20:22:52 +02:00
tests.zig Spelling corrections (#9833) 2021-09-24 13:39:20 -04:00
translate_c.zig Spelling corrections (#9833) 2021-09-24 13:39:20 -04:00