digitalmars.D.bugs - [Issue 4836] New: "duplicated union initialization" without a union
- d-bugmail puremagic.com (30/30) Sep 07 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4836
- d-bugmail puremagic.com (15/15) Sep 08 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4836
- d-bugmail puremagic.com (11/11) Feb 06 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4836
- d-bugmail puremagic.com (12/12) Jan 06 2012 http://d.puremagic.com/issues/show_bug.cgi?id=4836
http://d.puremagic.com/issues/show_bug.cgi?id=4836 Summary: "duplicated union initialization" without a union Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: i.kasiuk gmx.de The following compilation error does not seem to make sense: $ cat test.d class C { string s = null; mixin template M() { } mixin M!() m1; // line 4 mixin template M(T) { } // line 5 mixin M!(int) m2; } $ dmd -c test test.d(1): Error: class test.C duplicated union initialization for s $ Interestingly, the file compiles without error if line 4 and 5 are swapped. Tested with DMD v2.048 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 07 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4836 Also, line 6 seems to have no influence, so the following still does not compile: class C { string s = null; mixin template M() { } mixin M!() m1; mixin template M(T) { } } On the other hand, when replacing "string s = null" by "int i = 0" it compiles without error. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 08 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4836 Brad Roberts <braddr puremagic.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|x86_64 |x86 --- Mass migration of bugs marked as x86-64 to just x86. The platform run on isn't what's relevant, it's if the app is a 32 or 64 bit app. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 06 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4836 Trass3r <mrmocool gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mrmocool gmx.de Resolution| |FIXED Compiles now. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 06 2012