[Issue 11494] std.array.appender is not nothrow

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 13 09:22:16 PST 2013


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



--- Comment #3 from Adam D. Ruppe <destructionator at gmail.com> 2013-11-13 09:22:14 PST ---
The specific thing that got this was here:

import std.conv;
import std.array;

void main() nothrow @safe {
    string s = "foo";
    auto b = to!(ubyte[])(s);
}

testarray.d(6): Error: 'std.conv.to!(ubyte[]).to!(string).to' is not nothrow


Though, now the change I did in the pull isn't fixing it. When I first played
with this, it was on my other computer which has an older dmd, so maybe
something else has changed since then, but this test here still fails to
compile on my desktop.

I'm not sure what's going on here, maybe it is trying to parse the string. But
the appender issue itself might be invalid and/or already fixed in the newest
dmd though.

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


More information about the Digitalmars-d-bugs mailing list