Possible bug in std.algorithm.map

Magnus Lie Hetland mlh at idi.ntnu.no
Sun Jan 30 09:51:59 PST 2011


On Jan 30, 2011, at 08:19 , Robert Jacques wrote:

> Yes, it's Issue 5073. (http://d.puremagic.com/issues/show_bug.cgi?id=5073 
> ).

OK.

> I've tested your test case using the listed patch + DMD 2.051 and it  
> works.

Great.

> Looking over Issue 5064, Don is probably right in it being the root  
> cause in DMD, but if you just want map to work correctly, you might  
> want to try the patch from 5073.


Thanks. I also see (from 5064) that using -inline works around the  
problem (worked for me). Slightly less invasive solution for right  
now, at least.

Thanks for the help.

-- 
Magnus Lie Hetland
http://hetland.org




More information about the Digitalmars-d mailing list