[Seaside-dev] Seaside and exception behaviour
mkobetic at cincom.com
mkobetic at cincom.com
Wed Jan 5 15:58:26 UTC 2011
"Paolo Bonzini"<bonzini at gnu.org> wrote:
> On 01/05/2011 04:08 PM, mkobetic at cincom.com wrote:
> > Here's maybe a bit more concise example. If you run the thing below in a workspace,
> > it should return 'Squeak' in Squeak and 'VW' in VW
> >
> > [ [ [ self error: 'trigger error'
> > ] on: ZeroDivide do: [ :ex | 'Squeak' ]
> > ] on: Error do: [ :ex | 3 / 0 ]
> > ] on: ZeroDivide do: [ :ex | 'VW' ]
>
> It returns 'Squeak' on GNU Smalltalk. This is consistent with my
> analysis of Alan's snippet. Unfortunately I don't have at hand my copy
> of the standard.
FWIW, Smalltalk/X returns 'VW'
More information about the seaside-dev
mailing list