help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Re: Magritte-Seaside and validation errors


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Re: Magritte-Seaside and validation errors
Date: Mon, 04 May 2009 15:09:54 +0200
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]