Sema: detect comptime-known union initializations

Follow a similar pattern as we already do for validate_array_init and
validate_struct_init.

I threw in a bit of behavior test cleanup on top of it.
1c8a86f063Andrew Kelley committed on 3/3/2022, 12:28:39 AMparent220708e
9 files changedLine totals unavailable