http://d.puremagic.com/issues/show_bug.cgi?id=7046


Steven Schveighoffer <schvei...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schvei...@yahoo.com


--- Comment #2 from Steven Schveighoffer <schvei...@yahoo.com> 2011-12-02 
04:30:34 PST ---
Are we sure this isn't expected?  I mean a null could mean a null string[], not
a null string.

string[] ret;
string[] a = null;

ret ~= a;
ret ~= a;

neither of these lines should do anything to ret, since they are empty arrays
of the same type.

I almost think the code in question should fail to compile for being too
ambiguous.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to