[squeak-dev] The Trunk: Kernel-fn.1216.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Apr 27 09:08:47 UTC 2019


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."!



More information about the Squeak-dev mailing list