[squeak-dev] The Trunk: 45Deprecated-nice.22.mcz

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Fri Dec 13 15:31:45 UTC 2013


Oh, blush, never publish untested code... My attention was focused on
ifNotNil: handling.


2013/12/13 Frank Shearar <frank.shearar at gmail.com>

> On 13 December 2013 15:04, Tony Garnock-Jones <tonyg at ccs.neu.edu> wrote:
> > On 12/13/2013 03:44 AM, Frank Shearar wrote:
> >> I really like that ifNotNil: deprecation message :)
> >
> > Which piqued my interest, so I looked, and...
> >
> >>> + initPattern: aString notifying: req return: aBlock
> >>> [...]
> >>> +            ^self initPattern: aString notifying: req return: aBlock]
> >
> > ... isn't that an infinite (recursive) loop?
>
> Yes, I do believe it is! It looks like the line should say
>
>     ^ self initPattern: aString return: aBlock
>
> frank
>
> > Tony
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20131213/162d65c0/attachment.htm


More information about the Squeak-dev mailing list