[BUG ] Weakness weakness in 3.6alpha ClassBuilder
bvukmer at blackboard.com
Wed Apr 2 21:33:12 UTC 2003
I verified that the "WeakArray cannot be recompiled" bug exists in 3.6alpha; see attached log.
I'm re-posting so that http://swiki.gsug.org/sqfixes will pick it up.
From: Tim Rowledge [mailto:tim at sumeru.stanford.edu]
Sent: Friday, March 14, 2003 8:12 PM
To: The general-purpose Squeak developers list
Cc: Tim Rowledge
Subject: Weakness weakness in latest ClassBuilder
In 3.4 with or without the recent update that improves the ClassBuilder
there seems to be a problem relating to weak subclasses.
My testcase is to recompile Array. This fails with the attached
debuglog because the code checks to see if the type of the WeakArray
subclass of Array is the same as the type of the intended new class
Array. It gets a bit hard to describe but I hope that makes sense.
My guess (and it's only a guess for now) is that the code
newType ~~ #normal ifTrue:
["And check if the immediate subclasses of oldClass can keep its
oldType _ sub typeOfClass.
oldType == newType ifFalse: [
self error: sub name,' cannot be recompiled'.
probably ought to try to understand that #weak is a subform of
#variable. Or whatever.
tim at sumeru.stanford.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4050 bytes
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030402/da4e7d8c/SqueakDebug.obj
More information about the Squeak-dev