Merry! (Christmas).to!Everyone;
Iain Buclaw
ibuclaw at gdcproject.org
Wed Dec 25 03:57:23 PST 2013
On Dec 25, 2013 9:48 AM, "Joseph Rushton Wakeling" <
joseph.wakeling at webdrake.net> wrote:
>
> On 25/12/13 10:44, Joseph Rushton Wakeling wrote:
>>
>> On 25/12/13 10:32, Iain Buclaw wrote:
>>>
>>> import std.scrooge;
>>> return bah!"humbug";
>>
>>
>> Your code has a bug in it :-)
>
>
> Fix submitted:
>
> foreach(ghost; ThreeSpirits)
> {
> visit(ebenezer);
> }
>
Don't you mean.
foreach(ghost; ThreeSpirits)
{
with(ghost)
visit(ebenezer);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20131225/c9a0331a/attachment.html>
More information about the Digitalmars-d
mailing list