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



--- Comment #1 from Nick Sabalausky <cbkbbej...@mailinator.com> 2011-08-16 
23:41:16 PDT ---
I think this may be another manifestation of the same bug:

dstring foo()
{
    auto result = new dchar[](1);
    result[0..1] = "a"d;
    return cast(dstring)result;
}
static assert(foo() == "a"d);

Result:
assert interpret.c(2831) sz == newstr->sz

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

Reply via email to