[Issue 10543] std.algorithm.map incorrectly uses source range length for narrow strings

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 4 09:31:55 PDT 2013


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



--- Comment #1 from Peter Alexander <peter.alexander.au at gmail.com> 2013-07-04 09:31:54 PDT ---
(In reply to comment #0)
> Clearly the reported length (21) is wrong, it should be 7.

Scratch that. length shouldn't be available at all for narrow strings as it is
unobtainable in constant time.

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


More information about the Digitalmars-d-bugs mailing list