Nicolas Petton wrote:
> Le lundi 04 mai 2009 à 12:50 +0200, Paolo Bonzini a écrit :
>> I think this is because Magritte makes very demanding use of exceptions.
>> It might be that Squeak and GNU Smalltalk behave in a different way.
>>
>> Can you try filing in the attached class and then evaluating:
>>
>> {TestError new resumableTest: #halt outerHandler: #yourself.
>> TestError new resumableTest: #halt outerHandler: #resume.
>> TestError new beResumable; resumableTest: #pass outerHandler: #yourself.
>> TestError new beResumable; resumableTest: #pass outerHandler: #resume.
>> TestError new beResumable; resumableTest: #outer outerHandler: #yourself.
>> TestError new beResumable; resumableTest: #outer outerHandler: #resume.
>> TestError new beResumable; resumableTest: #resumeOuter outerHandler:
>> #yourself.
>> TestError new beResumable; resumableTest: #resumeOuter outerHandler:
>> #resume}
>>
>> under Squeak?
>
> Sure, but what differences between gst and Squeak should I be looking
> for?
The output for GNU Smalltalk is
(false false false false false false true true )
Magritte uses something that resembles the third or fourth element of
the array, but any difference is sign of a different implementation
and/or a bug in GNU Smalltalk.
Paolo
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk