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

           Summary: mixin+static assert+__MODULE__=ICE
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from det <[email protected]> 2013-08-01 23:29:01 PDT ---
with DMD 2.063.2, 32bit:

// demo.d
module demo;

//  compiles ok:
static assert( __MODULE__ == "demo" );
mixin( `static assert( __traits(compiles,demo) );` );
mixin( `static assert( __FILE__ == "demo.d" );` );

//  crashes dmd:
mixin( `static assert( __MODULE__ == "demo" );` );

void main(){}

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

Reply via email to