[Issue 1432] Bogus "overlapping initialization" error with structs, unions, and member initializers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 16 00:11:08 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=1432


Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu


--- Comment #5 from Martin Nowak <code at dawg.eu> 2013-12-16 00:10:49 PST ---
Do we have a distinction between explicit and implicit initialization somewhere
else in the language?
Otherwise it's idfficult to explain, why these two differ.
union { int a; string b = "s"; }
union { int a = 0; string b = "s"; }

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


More information about the Digitalmars-d-bugs mailing list