Re: [Issue 2934] "".dup does not return empty string

2009-05-05 Thread Steven Schveighoffer
On Mon, 04 May 2009 20:02:01 -0400, Derek Parnell wrote: On Mon, 04 May 2009 17:16:45 -0400, Steven Schveighoffer wrote: what's not intuitive is comparing an array (which is a struct) to null. Hmmm ... interesting. I regard the array not as a struct but as a concept implemented in D as a s

Re: [Issue 2934] "".dup does not return empty string

2009-05-04 Thread Derek Parnell
On Mon, 04 May 2009 17:16:45 -0400, Steven Schveighoffer wrote: > what's not intuitive is comparing an array (which is a struct) to null. Hmmm ... interesting. I regard the array not as a struct but as a concept implemented in D as a struct. > char[] arr1 = ""; > char[] arr2 = null; > > asser

Re: [Issue 2934] "".dup does not return empty string

2009-05-04 Thread Steven Schveighoffer
On Mon, 04 May 2009 16:56:49 -0400, Derek Parnell wrote: On Mon, 4 May 2009 17:44:56 + (UTC), d-bugm...@puremagic.com wrote: http://d.puremagic.com/issues/show_bug.cgi?id=2934 schvei...@yahoo.com changed: What|Removed |Added ---

Re: [Issue 2934] "".dup does not return empty string

2009-05-04 Thread Derek Parnell
On Mon, 4 May 2009 17:44:56 + (UTC), d-bugm...@puremagic.com wrote: > http://d.puremagic.com/issues/show_bug.cgi?id=2934 > > schvei...@yahoo.com changed: > >What|Removed |Added >