http://d.puremagic.com/issues/show_bug.cgi?id=3488
g <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from g <[email protected]> 2009-11-08 10:51:30 PST --- also to note that this also don't works: -- struct A{ int n; } template genA(){ enum A genA = { n:4 }; } immutable A b = genA!(); -- but this works: -- struct A{ int n; } template genA(){ //works with immutable immutable A genA = { n:4 }; } immutable A b = genA!(); void main(){ //ok assert(b.n == 4); } -- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
