Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Changeset 1629:b07d683ba4d0

Show
Ignore:
Timestamp:
01/06/10 13:53:35 (2 years ago)
Author:
Christian Kamm <kamm incasoftware de>
branch:
default
Message:

Disable appending a dchar to a char or wchar array for now.

See [1605] for details.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dmd/expression.c

    Revision 1627:e83f0778c260 Revision 1629:b07d683ba4d0
    8557       ) 8557       ) 
    8558    {   // Append element 8558    {   // Append element 
    8559    e2 = e2->castTo(sc, tb1next); 8559    e2 = e2->castTo(sc, tb1next); 
    8560    type = e1->type; 8560    type = e1->type; 
    8561    e = this; 8561    e = this; 
    8562    }  8562 // Reenable when _d_arrayappendwd and cd are in the runtime. 
       8563 /*    } 
       8564  
    8563    else if (tb1->ty == Tarray && 8565    else if (tb1->ty == Tarray && 
    8564    (tb1next->ty == Tchar || tb1next->ty == Twchar) && 8566    (tb1next->ty == Tchar || tb1next->ty == Twchar) && 
    8565    e2->implicitConvTo(Type::tdchar) 8567    e2->implicitConvTo(Type::tdchar) 
    8566       ) 8568       ) 
    8567    {   // Append dchar to char[] or wchar[] 8569    {   // Append dchar to char[] or wchar[] 
Copyright © 2008, LDC Development Team.