http://d.puremagic.com/issues/show_bug.cgi?id=5357
Summary: mixin templates accept strings as struct name Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: minor Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: gacek...@tlen.pl --- Comment #0 from Piotr Szturmaj <gacek...@tlen.pl> 2010-12-18 16:07:03 PST --- Compiles on D2.050: mixin template GenStruct1(string name) { struct name { } } mixin template GenStruct2(alias name) { struct name { } } mixin GenStruct1!("test"); mixin GenStruct2!("test2"); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------