On Fri, Jan 12, 2018 at 11:09:47AM +0000, kdevel via Digitalmars-d-learn wrote: [...] > On Friday, 12 January 2018 at 02:16:39 UTC, Adam D. Ruppe wrote: [...] > > I'd file this as a compiler codegen bug. > > https://issues.dlang.org/show_bug.cgi?id=18232
Yep, definitely a codegen bug. Apparently, local variables in union member functions aren't initialized to .init as they should be. Digging into the compiler code right now to see if I can find where the problem is... T -- Only boring people get bored. -- JM