[Issue 1562] New: Deduction of template alias parameter fails
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Oct  9 16:35:29 PDT 2007
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=1562
           Summary: Deduction of template alias parameter fails
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: bugzilla at digitalmars.com
// Should compile on 1.0 and 2.0; does not:
template Foo(T : S!(T), alias S)
{
    alias int Foo;
}
struct Struct(T)
{
}
void main()
{
    Foo!(Struct!(int)) f;
}
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list