The Trunk: Kernel-fn.1216.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-fn.1216.mcz

commits-2
Fabio Niephaus uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-fn.1216.mcz

==================== Summary ====================

Name: Kernel-fn.1216
Author: fn
Time: 27 April 2019, 11:08:43.467561 am
UUID: 4af5e126-9387-41b6-bd41-a6c526f0bd8a
Ancestors: Kernel-eem.1215

Make SmallInteger's method overrides for copying consistent with those of SmallFloat64.

=============== Diff against Kernel-eem.1215 ===============

Item was added:
+ ----- Method: SmallInteger>>copy (in category 'copying') -----
+ copy
+ "Answer the receiver, because SmallIntegers are unique."
+ ^self!

Item was changed:
  ----- Method: SmallInteger>>deepCopy (in category 'copying') -----
+ deepCopy
+ "Answer the receiver, because SmallIntegers are unique."
+ ^self!
- deepCopy!

Item was changed:
  ----- Method: SmallInteger>>shallowCopy (in category 'copying') -----
+ shallowCopy
+ "Answer the receiver, because SmallIntegers are unique."
+ ^self!
- shallowCopy!

Item was changed:
  ----- Method: SmallInteger>>veryDeepCopyWith: (in category 'copying') -----
  veryDeepCopyWith: deepCopier
+ "Answer the receiver, because SmallIntegers are unique."
+ ^self!
- "Return self.  I can't be copied.  Do not record me."!