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? --Qian
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? --Qian