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

Frank Shearar frank.shearar at gmail.com
Fri Dec 13 15:26:20 UTC 2013


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
>


More information about the Squeak-dev mailing list