[Issue 10695] New: __MODULE__ in string mixin crashes compiler

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 22 03:53:49 PDT 2013


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: nobody at puremagic.com
        ReportedBy: johannespfau at gmail.com


--- Comment #0 from Johannes Pfau <johannespfau at gmail.com> 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: -------


More information about the Digitalmars-d-bugs mailing list