What    |Removed                     |Added
                 CC|                            |

--- Comment #4 from 2012-03-21 13:10:05 PDT ---
DMD is inconsistent here. It is not clear what the behavior should be.

void main(){
    string[] s1,s2;
    writeln(s1," ",s2); // [""] []

I think most reasonable would be to check the array type for implicit
conversions first and to consider the element type for implicit conversions
only after the conversion to the array has failed. This would make
appending/concatenating with an empty array literal a no-op for all array types
and it would restore the behavior the OP expects.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to