[comp.lang.smalltalk] Bugs in Smalltalk/V for PM version 1.0

cowan@marob.masa.com (John Cowan) (02/17/90)

There is a nasty bug in the methods Object>>objectDeepCopy and
Object>>objectShallowCopy that prevents copying objects that define
nonstandard new and new: class methods.  Each of these methods references
new and new: in lines 12 and 9 respectively.  Change the references to
basicNew and basicNew:.  I discovered this when trying to copy a RectArray
object; RectArray is a class written by me which accepts a list of 
dimensions, rather than a single number, as the argument to new:.

Users of Smalltalk/V for other platforms might want to check for this bug
as well, as it is not platform-specific.