[squeak-dev] The Trunk: Kernel-ul.549.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Feb 28 11:24:53 UTC 2011
Levente Uzonyi uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ul.549.mcz
==================== Summary ====================
Name: Kernel-ul.549
Author: ul
Time: 28 February 2011, 12:23:58.143 pm
UUID: 63637401-6781-ce44-99e2-d3ac7f032112
Ancestors: Kernel-dtl.548, Kernel-hsj.547
Merged.
=============== Diff against Kernel-dtl.548 ===============
Item was changed:
----- Method: Behavior>>adoptInstance: (in category 'instance creation') -----
adoptInstance: anInstance
"Change the class of anInstance to me.
+ Primitive (found in Cog and new VMs) follows the same rules as primitiveChangeClassTo:, but returns the class rather than the modified instance"
- Primitive (only found in Cog) should follow the same rules as described in primitiveChangeClassTo:"
<primitive: 160 error: ec>
+ anInstance primitiveChangeClassTo: self basicNew.
+ ^self!
- ^anInstance primitiveChangeClassTo: self basicNew.!
More information about the Squeak-dev
mailing list
|