http://d.puremagic.com/issues/show_bug.cgi?id=10492
Summary: Illegal Instruction for mixin template with scope declarations Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: blocker Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: chang...@gmail.com --- Comment #0 from changlon <chang...@gmail.com> 2013-06-27 18:51:54 PDT --- code: ---------------------- class TestClass{} mixin template test(string name){ mixin("scope " ~ name ~ " = new TestClass;" ); } void main(){ mixin test!("var"); } --------------------- run error: -------------------- object.Error: Illegal Instruction ---------------- 0x0012FE30 0x00402BFC 0x00402C37 0x00402835 0x00402098 0x7C817067 in RegisterWaitForInputIdle -------------------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------