[Issue 10743] New: mixin+static assert+__MODULE__=ICE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 1 23:29:04 PDT 2013


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: nobody at puremagic.com
        ReportedBy: 2krnk at gmx.net


--- Comment #0 from det <2krnk at gmx.net> 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: -------


More information about the Digitalmars-d-bugs mailing list