https://issues.dlang.org/show_bug.cgi?id=12238

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from [email protected] ---
Workaround:

I ran into this today with the Windows COM VARIANT struct, which is a union
that contains a struct that contains a union and a struct.

I ended up working around this with a separate initialization method:

export static tagVARIANT createVARIANT { return tagVARIANT(); }

This work around isn't elegant, but my guess is it can be broadly used for this
issue, potentially blocking some people who are stumped.

--

Reply via email to