Bug filing in ThingLab with 2.6
A. Stockdale
astockdale at computer.org
Mon Nov 15 20:44:34 UTC 1999
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
After applying Dan's fix, I encountered another problem. While
trying to file in node.st, I got a subscript out of range error. I
think I've tracked the problem down, and propose the following fix...
- -------------
'From Squeak2.7alpha of 9 November 1999 [latest update: #1606] on 15
November 1999 at 12:35:49 pm'!
!ThingLabObject class methodsFor: 'ThingLab overrides' stamp: 'ABS
11/13/1999 08:17'!
compileAllFrom: oldClass
| oldNames |
"Thinglab overrides for fast growing of classes"
oldNames _ oldClass instVarNames.
oldNames = (self instVarNames copyFrom: 1 to: (oldNames size min:
self instVarNames size))
ifTrue: [^self]. "Do nothing if just adding a field"
super compileAllFrom: oldClass! !
- -------------
My change is to ensure that the second argument to copyFrom:to: is
not larger than (self instVarNames). Since I'm quite a newbie, I'd
appreciate anyone's feedback on whether this was the right way to
handle the problem (at least it allowed me to finish filing in
ThingLab). I'm still experimenting with ThingLab, and I think there
might be some other problems.
- -----Original Message-----
From: bolot <bolot at cc.gatech.edu>
To: squeak at cs.uiuc.edu <squeak at cs.uiuc.edu>
Date: November 15, 1999 8:29 AM
Subject: Re: Bug filing in ThingLab with 2.6
Dan Ingalls has answered a similar report...
To resolve file in this:
!UndefinedObject methodsFor: 'ThingLab' stamp: 'di 10/20/1999 09:30'!
isPrototype
"message defined here to prevent error of asking for the
prototype when the
definition hasn't been filed in yet"
^ false! !
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.1 for non-commercial use <http://www.pgp.com>
iQA/AwUBODBwsAgqUaZcNAnvEQJaTQCgiqbepalZLZmIjJxRQnzzy+gVnCQAoIEz
NWl0iAYOodDpmeqQaPM87Uhf
=62um
-----END PGP SIGNATURE-----
More information about the Squeak-dev
mailing list
|