www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2298] New: Parameters not visible in the concept condition

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2298

           Summary: Parameters not visible in the concept condition
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: andrei metalanguage.com


void f(S...)(S s) if (S.length > 3)
{
}

void main()
{
    f(1, 2, 3, 4);
}

Error: undefined identifier S


-- 
Aug 20 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2298


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Comment #1 from bugzilla digitalmars.com  2009-03-14 20:54 -------
Works in dmd 2.026


-- 
Mar 14 2009