http://d.puremagic.com/issues/show_bug.cgi?id=6962



--- Comment #1 from Don <[email protected]> 2012-11-15 05:29:59 PST ---
Marginally reduced test case:

int bug6962(string value)
{
    string v = value;
    scope(exit)
       assert(!v.length);
    ref6962(v);
    return 1;
}

void ref6962(ref string value)
{
    value = value[0..0];
}

void main()
{
    string s = "42";
    bug6962(s);
}

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

Reply via email to