July 25, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2247

           Summary: bad header file generated for if (auto o = ...) {}
           Product: D
           Version: 1.029
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: 2korden@gmail.com


int test(T)(T t)
{
        if (auto o = cast(Object)t) return 1;
        return 0;
}

generates the following

// D import file generated from 'test.d'
template test(T)
{
int test(T t)
{
if (o;cast(Object)t)
return 1;
return 0;
}
}

which is a deprecated syntax.


-- 

August 14, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2247


bugzilla@digitalmars.com changed:

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




------- Comment #1 from bugzilla@digitalmars.com  2008-08-14 03:01 -------
Fixed dmd 1.034 and 2.018


--