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

           Summary: Alias type parameters not visible in concept-if clauses
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzi...@digitalmars.com
        ReportedBy: and...@metalanguage.com


This may be related to bug 2676. The following code fails to compile by
claiming that "T" does not exist in the concept-if clause.

void foo(T...)(T ts)
if (T.length > 1)
{
}

void main()
{
    foo(1, 2);
}


-- 

Reply via email to