Bug 9135 – a bug which compile does not end

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-12-10T06:47:00Z
Last change time
2013-11-23T06:25:15Z
Assigned to
nobody
Creator
enjouzensyou.boinc

Comments

Comment #0 by enjouzensyou.boinc — 2012-12-10T06:47:51Z
If you compile example code, compile does not end. Example: --- //NG. Compile does not end. bool b = is(typeof( { mixin("alias template A(){} B;"); })); /* //OK. Compile end. Of cause, if compile this code, you fail to compile. alias typeof( { mixin("alias template A(){} B;"); }) Test; //OK. Compile end. Of cause, if compile this code, you fail to compile. mixin("alias template A(){} B;"); */ ---
Comment #1 by yebblies — 2013-11-23T06:25:15Z
Probably a duplicate.