December 18, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1742

           Summary: CTFE fails on some template functions
           Product: D
           Version: 1.024
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: sean@f4.ca


Compiling with version=Good works but compiling with version=Bad fails.  Both should compile.

    version( Good )
    {
        size_t find(Elem)( Elem[] buf, Elem pat )
        {
            return 0;
        }
    }
    else version( Bad )
    {
        size_t find(Buf, Pat)( Buf buf, Pat pat )
        {
            return 0;
        }
    }

    const pos = find( "abcdefg", 'c' );

    void main()
    {

    }


-- 

January 03, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1742


bugzilla@digitalmars.com changed:

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




------- Comment #1 from bugzilla@digitalmars.com  2008-01-02 19:47 -------
Fixed dmd 1.025 and 2.009


--