[Issue 6966] New: cannot create qualified type from tuple entry
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Thu Nov 17 07:30:56 PST 2011
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=6966
           Summary: cannot create qualified type from tuple entry
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: timon.gehr at gmx.ch
--- Comment #0 from timon.gehr at gmx.ch 2011-11-17 07:30:09 PST ---
template X(T...){
    alias const(T[0]) X;
}
static assert(is(X!(int) == const(int))); // fail
The static assertion should pass.
-- 
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