digitalmars.D.bugs - [Issue 6334] New: Template is silently not instantiated
- d-bugmail puremagic.com (25/25) Jul 16 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6334
http://d.puremagic.com/issues/show_bug.cgi?id=6334 Summary: Template is silently not instantiated Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: verylonglogin.reg gmail.com --- This code compiles on dmd 2.054: mixin template T1() { mixin T2; //compiles if these lines mixin T2!(a, bb, ccc, dddd); //are before T2 declaration mixin template T2() { static assert(0); } } void main() { mixin T1; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 16 2011