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: nob...@puremagic.com ReportedBy: i.kas...@gmx.de --- Comment #0 from Ivo Kasiuk <i.kas...@gmx.de> 2010-09-07 12:49:28 PDT --- 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: -------