Hi All,The following code will throw an exception: char[] s; assert( s.dup is null); // OK assert("".dup !is null); // FAILED "".dup is expectly also an empty string. Is this a compiler bug?
I think you might have a bug?"".dup is the same as s.dup, not sure why you would expect it to be not-null.
-Steve