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

           Summary: __MODULE__ in string mixin crashes compiler
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Johannes Pfau <[email protected]> 2013-07-22 03:53:49 
PDT ---
Test case:
--------------------
module a;

void main()
{
        //string mod = __MODULE__; // <--This is working
    mixin("string mod = __MODULE__;");
}
--------------------

Tested with dmd 2.063.2 and 2.064 git.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to