[BUG] '3 + 4' crashes Squeak ...

Randal L. Schwartz merlyn at stonehenge.com
Thu Oct 4 20:11:51 UTC 2001


>>>>> "Doug" == Doug Way <dway at riskmetrics.com> writes:

Doug> Insert this instead into the place where you were putting your halt:

Doug>    self doOnlyOnce: [self halt].

Doug> See ProtoObject>>doOnlyOnce: for more details.  (By the way, it
Doug> seems like this method doesn't really need to be all the way up
Doug> in ProtoObject, since it's just a utility method which doesn't
Doug> refer to self.  Maybe Object would suffice?)

How would you debug a non-Object object then?  you couldn't say
"self doOnlyOnce: ...".

It needs to be at the top of the foodchain to be useful for everything.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!




More information about the Squeak-dev mailing list