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

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

You can modify it by putting in your file code like

!Object methodsFor: 'copying'!

deepCopy
    ...
! !

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

Paolo

_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to