[Vm-dev] #clone vs. #shallowCopy
David T. Lewis
lewis at mail.msen.com
Fri Feb 14 14:07:46 UTC 2014
On Fri, Feb 14, 2014 at 10:28:25AM +0100, Stefan Marr wrote:
>
> Hi:
>
> In Pharo there is no #clone anymore and in Squeak 4.5 #shallowCopy seems to be equivalent to #clone in its implementation.
>
> There are a few uses of #clone in the VMMaker, and SmartSyntaxPluginCodeGenerator knows about it as well.
>
> Would it be ok to migrate to #shallowCopy?
>
Looks reasonable to me.
Dave
More information about the Vm-dev
mailing list