Am 25.02.2016 6:30 nachm. schrieb "Aliaksei Syrel" <[email protected]>: > > Just a guess, maybe to allow method adding from debugger and then ability to continue execution? > > Cheers, > Alex > > On Thu, Feb 25, 2016 at 5:56 PM, Denis Kudriashov <[email protected]> wrote: >> >> Hi. >> >> Does anybody know why #doesNotUnderstand: is implemented with recursion at the end? >> >>> doesNotUnderstand: aMessage >>> | exception resumeValue | >>> (exception := MessageNotUnderstood new) >>> message: aMessage; >>> receiver: self. >>> resumeValue := exception signal. >>> ^exception reachedDefaultHandler >>> ifTrue: [aMessage sentTo: self] >>> ifFalse: [resumeValue]. >>
There is a difference between sentTo: and sendTo: >> >> Best regards, >> Denis > >
