https://d.puremagic.com/issues/show_bug.cgi?id=12467



--- Comment #1 from Andrej Mitrovic <[email protected]> 2014-03-25 
18:21:49 CET ---
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
}
-----

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

Reply via email to