The Inbox: Kernel-fn.1248.mcz

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

The Inbox: Kernel-fn.1248.mcz

commits-2
A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-fn.1248.mcz

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

Name: Kernel-fn.1248
Author: fn
Time: 23 July 2019, 8:07:48.862407 pm
UUID: 0fa86707-d5b1-4e6f-967b-d2b6871faea8
Ancestors: Kernel-ul.1247

Remove redudant methods for copying from SmallFloat64 and SmallInteger (following Chris' suggestion at http://forum.world.st/The-Trunk-Kernel-fn-1223-mcz-tp5098738p5098777.html).

=============== Diff against Kernel-ul.1247 ===============

Item was removed:
- ----- Method: SmallFloat64>>copy (in category 'copying') -----
- copy
- "Answer the receiver, because SmallFloat64s are unique."
- ^self!

Item was removed:
- ----- Method: SmallFloat64>>postCopy (in category 'copying') -----
- postCopy
- "I will never be copied"
- ^self shouldNotImplement!

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

Item was removed:
- ----- Method: SmallInteger>>postCopy (in category 'copying') -----
- postCopy
- "I will never be copied"
- ^self shouldNotImplement!


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Kernel-fn.1248.mcz

Chris Muller-3
Thank you Fabio!


On Tue, Jul 23, 2019 at 1:07 PM <[hidden email]> wrote:
A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-fn.1248.mcz

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

Name: Kernel-fn.1248
Author: fn
Time: 23 July 2019, 8:07:48.862407 pm
UUID: 0fa86707-d5b1-4e6f-967b-d2b6871faea8
Ancestors: Kernel-ul.1247

Remove redudant methods for copying from SmallFloat64 and SmallInteger (following Chris' suggestion at http://forum.world.st/The-Trunk-Kernel-fn-1223-mcz-tp5098738p5098777.html).

=============== Diff against Kernel-ul.1247 ===============

Item was removed:
- ----- Method: SmallFloat64>>copy (in category 'copying') -----
- copy
-       "Answer the receiver, because SmallFloat64s are unique."
-       ^self!

Item was removed:
- ----- Method: SmallFloat64>>postCopy (in category 'copying') -----
- postCopy
-       "I will never be copied"
-       ^self shouldNotImplement!

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

Item was removed:
- ----- Method: SmallInteger>>postCopy (in category 'copying') -----
- postCopy
-       "I will never be copied"
-       ^self shouldNotImplement!