[dmd-internals] Nested Unions?

Andrei Alexandrescu andrei at erdani.com
Fri Oct 12 09:39:20 PDT 2012


On 10/12/12 11:43 AM, Iain Buclaw wrote:
> Which concludes that - [1] yes a context pointer is included in the
> union layout, but [2] its value is never anything meaningful because
> it is still a field in a union.

Definitely a bug.

> I'd say this is a accepts invalid bug - unions should be POD only in my opinion.

Agree, although by the TAWD principle things should just work.


Andrei



More information about the dmd-internals mailing list