www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10743] New: mixin+static assert+__MODULE__=ICE

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: 2krnk gmx.net



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: -------
Aug 01 2013
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10743


Martin Krejcirik <mk krej.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |mk krej.cz
         Resolution|                            |DUPLICATE



*** This issue has been marked as a duplicate of issue 10695 ***

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