http://d.puremagic.com/issues/show_bug.cgi?id=6310
--- Comment #1 from [email protected] 2011-07-14 01:55:44 PDT --- More sophisticated test case which may be due to a different cause. -------------------------------------- template SL () { enum SL = 1; } template RT(alias T) if (SL!() == 1) { alias int RT; } template F(T) { alias RT!({ return T.init; }) F; // line 8 } pragma(msg, F!(void)); // line 10 -------------------------------------- x.d(8): Error: void does not have an initializer x.d(8): Error: void does not have a default initializer -------------------------------------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
