Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!phri!marob!cowan From: cowan@marob.masa.com (John Cowan) Newsgroups: comp.lang.smalltalk Subject: Bugs in Smalltalk/V for PM version 1.0 (and perhaps other platforms) Message-ID: <25DC4BE3.689@marob.masa.com> Date: 16 Feb 90 18:52:18 GMT Sender: cowan@marob.masa.com Reply-To: cowan@marob.masa.com (John Cowan) Organization: ESCC, New York City Lines: 11 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.