[Issue 9135] New: a bug which compile does not end

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 10 06:47:52 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=9135

           Summary: a bug which compile does not end
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: enjouzensyou.boinc at gmail.com


--- Comment #0 from Kazuki Komatsu <enjouzensyou.boinc at gmail.com> 2012-12-10 06:47:51 PST ---
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;");
*/
---

-- 
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