[Issue 11132] Odd diagnostic with C-style struct initializer when union field is present

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 2 08:46:15 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11132


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2013-10-02 08:46:14 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2605

After merging the PR, compier will report more better message for the OP code:
test.d(22): Error: overlapping initialization for field a and b

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list