[Issue 15205] Incorrect struct init via union array

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Oct 27 01:50:02 PDT 2015


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

Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=11269

--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> ---
Note: before https://github.com/D-Programming-Language/dmd/pull/2681 this
caused a compile-time error:

test.d(29): Error: duplicate union initialization for v

Perhaps this should still result in an error due to incomplete implementation
of unions in CTFE.

--


More information about the Digitalmars-d-bugs mailing list