#ensure: broken?

Josh Gargus schwa at fastmail.us
Sun Sep 25 17:09:39 UTC 2005


On Sep 24, 2005, at 12:26 PM, Tom Phoenix wrote:

> On 9/23/05, Josh Gargus <schwa at fastmail.us> wrote:
>
>
>> When I run the following code...
>> [4 / 0] ensure: [self halt]
>> ... I get a ZeroDivide debugger, as expected.  However, the halt does
>> not get executed when I press the "Abandon" button (although pressing
>> "Proceed" does cause it to be executed).
>>
>
> It halts for me, in a Squeak 3.8 image, even if I choose "Abandon".
> It's an "unwind error", but it is executed. Hope this help!
>

That's good to know.  I neglected to mention that we observed this in  
a Jasmine Croquet image (based on 3.6).  It's good news since the  
next release of Croquet will be based on 3.8.

Thanks,
Josh


> --Tom
>
>




More information about the Squeak-dev mailing list