Mercurial > projects > ldc
comparison dmd/expression.c @ 1629:b07d683ba4d0
Disable appending a dchar to a char or wchar array for now.
See [1605] for details.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Wed, 06 Jan 2010 19:53:35 +0100 |
parents | e83f0778c260 |
children | 44b145be2ef5 |
comparison
equal
deleted
inserted
replaced
1628:6c36e3f49b28 | 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[] |