The Trunk: System-mt.1120.mcz

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

The Trunk: System-mt.1120.mcz

commits-2
Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.1120.mcz

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

Name: System-mt.1120
Author: mt
Time: 18 November 2019, 11:59:46.982051 am
UUID: 3b02303b-94ab-f642-a9b9-07021136324b
Ancestors: System-mt.1119

Complements MorphicExtras-mt.268. Change implementation to match the basic one in String.

=============== Diff against System-mt.1119 ===============

Item was added:
+ ----- Method: Symbol>>asSimpleSetter (in category '*System-Support') -----
+ asSimpleSetter
+
+ ^ self last = $:
+ ifTrue: [ self ]
+ ifFalse: [ (self copyWith: $:) asSymbol ]!


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: System-mt.1120.mcz

marcel.taeumel
Hi, all.

Does this specialization still make sense? Is the basic implementation in String maybe good enough?

Best,
Marcel

Am 18.11.2019 11:59:57 schrieb [hidden email] <[hidden email]>:

Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.1120.mcz

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

Name: System-mt.1120
Author: mt
Time: 18 November 2019, 11:59:46.982051 am
UUID: 3b02303b-94ab-f642-a9b9-07021136324b
Ancestors: System-mt.1119

Complements MorphicExtras-mt.268. Change implementation to match the basic one in String.

=============== Diff against System-mt.1119 ===============

Item was added:
+ ----- Method: Symbol>>asSimpleSetter (in category '*System-Support') -----
+ asSimpleSetter
+
+ ^ self last = $:
+ ifTrue: [ self ]
+ ifFalse: [ (self copyWith: $:) asSymbol ]!