ClassBuilder validation bug

Craig Latta Craig.Latta at NetJam.ORG
Wed Sep 22 23:44:41 UTC 1999


Hi Andreas--

	I tried to add a class variable to ContextPart, and got "BlockContext cannot be recompiled" from ClassBuilder>>validateSubclassFormat:from:forSuper:extra:. It seems that one may no longer redefine a normal class which has a variable subclass.

	For now, I just changed "oldType == newType" near the end of the method to "(newType == #normal or: [oldType == newType])". The next thing I would do is change "oldType" and "newType" to more descriptive names, but I need to get back to work...


	thanks,

-C


--
Craig Latta
composer and computer scientist
craig.latta at netjam.org
www.netjam.org
latta at interval.com
Smalltalkers do: [:it | All with: Class, (And love: it)]





More information about the Squeak-dev mailing list