[Issue 4836] "duplicated union initialization" without a union

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 8 11:07:11 PDT 2010


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



--- Comment #1 from Ivo Kasiuk <i.kasiuk at gmx.de> 2010-09-08 11:06:48 PDT ---
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: -------


More information about the Digitalmars-d-bugs mailing list