[Issue 15586] std.utf.toUTF8() segfaults when fed an invalid dchar
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jan 20 14:22:23 PST 2016
https://issues.dlang.org/show_bug.cgi?id=15586
--- Comment #3 from thomas.bockman at gmail.com ---
> This doesn't seem like a Phobos bug; it seems to be a bug in the compiler for "optimizing" away the assert just because it thinks that dchar's cannot have invalid values.
That's the compiler bug I linked to in the OP (15585).
--
More information about the Digitalmars-d-bugs
mailing list