[Issue 15136] If we want toStringz to be fully correct, it needs to stop checking for '\0'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 30 15:00:23 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=15136

--- Comment #4 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Steven Schveighoffer from comment #3)
> assert(s[5] == 'b');

That should have read str[5], obviously :)

--


More information about the Digitalmars-d-bugs mailing list