[FIX] JonMajorShrink
PhiHo Hoang
phiho.hoang at home.com
Fri Aug 31 01:47:52 UTC 2001
Hooray, Jon,
I did it ! Just finished majorShrink without problems and now I have
'Squeak3.1a-4282MajorShrink.image' at 1680 KB.
Thanks a lot and looking forward to your sub 500MB headless image ;;-)
Cheers,
PhiHo
----- Original Message -----
From: "Jon Hylands" <jon at huv.com>
To: <squeak-dev at lists.squeakfoundation.org>
Sent: Thursday, August 30, 2001 6:18 PM
Subject: Re: [FIX] JonMajorShrink
On Thu, 30 Aug 2001 11:00:50 -0400, "PhiHo Hoang" <phiho.hoang at home.com>
wrote:
> This almost works, if not for a syntax error at the very end. In the
> 'Syntax Error' window, I can see:
>
> "Dictionary as yet unclassified Squeak3" in the top pane and
> "Squeak3.1a-4282.image-Argument expected ->---#(24 August 2001
12:07:14
> pm)" in the text pane.
Very interesting. I get the same thing when I use that image, so I went and
looked in the original 4282 image...
The method in question is Dictionary >> #includesKey:
The source pointer is broken.
Here's the source code for that method from an earlier release:
includesKey: key
"Answer whether the receiver has a key equal to the argument, key."
| index |
index _ self findElementOrNil: key.
(array at: index) == nil
ifTrue: [^ false]
ifFalse: [^ true]
If you copy & paste that into a browser before you start, and save the
method, everything should work again.
BTW, if you follow the steps I outlined, you don't need to comment out that
line from #discardOddsAndEnds...
Later,
Jon
--------------------------------------------------------------
Jon Hylands Jon at huv.com http://www.huv.com/jon
Project: Micro Seeker (Micro Autonomous Underwater Vehicle)
http://www.huv.com
More information about the Squeak-dev
mailing list
|