Comment #1 by andrej.mitrovich — 2014-03-25T10:21:49Z
This regression makes the following code print garbage because of the way stack-tracing works:
-----
string dupit(ref char[3] array)
{
return array[];
}
void main()
{
char[3] arr = "foo";
string str = arr.dupit;
assert(0, str); // prints garbage
}
-----
Comment #2 by dlang-bugzilla — 2014-03-25T10:28:39Z