[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 13:15:11 PDT 2013


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



--- Comment #7 from Peter Alexander <peter.alexander.au at gmail.com> 2013-07-04 13:15:10 PDT ---
(In reply to comment #6)
> (In reply to comment #5)
> > I'm struggling to understand the confusion.
> 
> The problem is perfectly clear.
> 
> Are you already correcting this? If not, I'll take care of it.
> 
> I remember having seen this in one of my first pulls correcting map, but got
> confused about the fact there is an *explicit* test to do things wrong... Time
> to correct it for good I guess.

I'm not fixing it right now, go ahead.

I only noticed it when I looked at the source. No idea why it's explicitly
coded to be wrong...

-- 
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