[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Works in Squeak but not GNU (deepCopy?)

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Works in Squeak but not GNU (deepCopy?)
Date: Fri, 18 Nov 2011 21:42:25 +0100

On Fri, Nov 18, 2011 at 18:42, Jimmy Johnson <address@hidden> wrote:
> Is there a way to look at / edit the code of deepCopy in Object?

It is in /usr/share/gnu-smalltalk/kernel/ or similar.

You can modify it by putting in your file code like

!Object methodsFor: 'copying'!

! !

However, as far as I remember Squeak does have #postCopy, so switching
to it would probably be a better plan.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]