[Issue 10492] New: Illegal Instruction for mixin template with scope declarations
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jun 27 18:51:54 PDT 2013
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: nobody at puremagic.com
ReportedBy: changlon at gmail.com
--- Comment #0 from changlon <changlon at 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: -------
More information about the Digitalmars-d-bugs
mailing list