Can anyone explain me why it would make sense to use #return: in the following 
method?

TestCase >> executeShould: aBlock inScopeOf: anExceptionalEvent 
        ^[aBlock value.
           false] 
                on: anExceptionalEvent
                do: [:ex | ex return: true]

I would instinctively replace [:ex | ex return: true] with the much simpler 
[:ex | ^ true]..
Am I missing something here?

camillo

Reply via email to