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

--- Comment #3 from [email protected] ---
(In reply to genede from comment #2)
> 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.

or rather unblocking....

--

Reply via email to