Couldn't load subscription status. Retry
There was an error while loading. Please reload this page.
In, #1166, is there a reason why setting CommonElementType = nullptr was removed when all the elements don't have the same type?
CommonElementType = nullptr
For example, the following code snippet now fails when lowering to LLVM:
typedef struct { char a; } S_1; typedef struct { long a, b; } S_2; typedef union { S_1 a; S_2 b; } U; void foo() { U arr[2] = {{.b = {1, 2}}, {.a = {1}}}; }
cc: @bcardosolopes, @ChuanqiXu9