Object>>mustBeBoolean

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Object>>mustBeBoolean

Andres Valloud-2
Hello,

  Why does Object>>mustBeBoolean use a notification, which is
  resumable, instead of an error, which would be non resumable?

--
Best regards,
 Andres                          mailto:[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Object>>mustBeBoolean

Alan Knight-2
Probably to support the "proceed for truth" dialog. But I've seen it cause some interesting problems.

At 05:05 PM 10/1/2006, Andres Valloud wrote:
>Hello,
>
>  Why does Object>>mustBeBoolean use a notification, which is
>  resumable, instead of an error, which would be non resumable?
>
>--
>Best regards,
> Andres                          mailto:[hidden email]

--
Alan Knight [|], Cincom Smalltalk Development
[hidden email]
[hidden email]
http://www.cincom.com/smalltalk

"The Static Typing Philosophy: Make it fast. Make it right. Make it run." - Niall Ross

Reply | Threaded
Open this post in threaded view
|

AW: Object>>mustBeBoolean

Georg Heeg
Andres,

Please update to VisualWorks 7.4.1. Since that version MustBeBoolean is a
subclass of Error.

Georg

-----Ursprüngliche Nachricht-----
Von: Alan Knight [mailto:[hidden email]]
Gesendet: Montag, 2. Oktober 2006 02:06
An: Andres Valloud; VW NC
Betreff: Re: Object>>mustBeBoolean

Probably to support the "proceed for truth" dialog. But I've seen it cause
some interesting problems.

At 05:05 PM 10/1/2006, Andres Valloud wrote:
>Hello,
>
>  Why does Object>>mustBeBoolean use a notification, which is
>  resumable, instead of an error, which would be non resumable?
>
>--
>Best regards,
> Andres                          mailto:[hidden email]

--
Alan Knight [|], Cincom Smalltalk Development
[hidden email]
[hidden email]
http://www.cincom.com/smalltalk

"The Static Typing Philosophy: Make it fast. Make it right. Make it run." -
Niall Ross


Reply | Threaded
Open this post in threaded view
|

Re: AW: Object>>mustBeBoolean

Reinout Heeck-2
Georg Heeg wrote:
> Andres,
>
> Please update to VisualWorks 7.4.1. Since that version MustBeBoolean is a
> subclass of Error.
>

That won't help since it implements

     mayResume
         ^true


R
-